Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Rejection. Reason: ProtocolError: Protocol error (Target.getTargetInfo): Not allowed #15586

Closed
adityadees opened this issue Nov 3, 2023 · 4 comments

Comments

@adityadees
Copy link
Contributor

This the docker config

RUN set -ex; \
  npm install npm@9.8.1 -g

RUN set -ex; \
  npm install -g laravel-echo-server lighthouse puppeteer@12.0.1; \
  npm cache clean --force

when I'm trying to run this

lighthouse  https://example.com/ --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage"  --output html --output json --output-path /var/www/html/path/test.html --preset=desktop

I got error issue
Unhandled Rejection. Reason: ProtocolError: Protocol error (Target.getTargetInfo): Not allowed

@adamraine
Copy link
Member

I can't repro this, can you also provide:

  • Chrome version
  • Lighthouse version
  • Operating system

@adityadees
Copy link
Contributor Author

adityadees commented Nov 14, 2023

OS : Docker Alpine Linux
Lighthouse : 11.1.0
Chrome version : chromium-browser --product-version : 102.0.5005.182

@adityadees
Copy link
Contributor Author

image

working fine on my local
but not on ec2 server

image

both running inside docker container

@adamraine
Copy link
Member

That Chrome version is pretty old and not supported anymore. Please upgrade to the latest stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants