Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Remote debugging not working

  • Nenhuma resposta
  • 0 têm este problema
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?

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.