Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Remote debugging not working

  • Нет ответов
  • 0 имеют эту проблему
  • 11 просмотров
more options

I'm trying to run Firefox in a vm and expose it for remote connections to access from puppeteer.

"firefox --headless --remote-debugging-port=9222 --remote-debugging-host=0.0.0.0 --remote-allow-hosts=x.x.x.x " - This is the command I'm using to launch the browser but the Firefox is listening on 127.0.0.1 only. And accepts only calls from the local machine. Despite many efforts I'm not able to make Firefox listens to my public ip or 0.0.0.0. This is the output I'm getting while launching

"*** You are running in headless mode. [GFX1-]: glxtest: Unable to open a connection to the X server WebDriver BiDi listening on ws://127.0.0.1:9222 [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt"

With chrome I'm able to achieve the above use case. Chrome listens on 0.0.0.0 when adding the --remote-debugging-address "google-chrome --no-sandbox --headless --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0".

I have limited control over the vm so I can't use ssh tunnel as well. Are there any solutions available to make Firefox listens to the public IP like chrome?

I'm trying to run Firefox in a vm and expose it for remote connections to access from puppeteer. "firefox --headless --remote-debugging-port=9222 --remote-debugging-host=0.0.0.0 --remote-allow-hosts=x.x.x.x " - This is the command I'm using to launch the browser but the Firefox is listening on 127.0.0.1 only. And accepts only calls from the local machine. Despite many efforts I'm not able to make Firefox listens to my public ip or 0.0.0.0. This is the output I'm getting while launching "*** You are running in headless mode. [GFX1-]: glxtest: Unable to open a connection to the X server WebDriver BiDi listening on ws://127.0.0.1:9222 [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt" With chrome I'm able to achieve the above use case. Chrome listens on 0.0.0.0 when adding the --remote-debugging-address "google-chrome --no-sandbox --headless --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0". I have limited control over the vm so I can't use ssh tunnel as well. Are there any solutions available to make Firefox listens to the public IP like chrome?

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.