-
Notifications
You must be signed in to change notification settings - Fork 137
Help on "Message: chrome not reachable" #164
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Why not retry these that are failing?, |
What I'd do is to flip the versions to see if that gets the issue resolved. |
mehmetturkmen@192 docker-selenium-lambda-memo % docker run -p 8080:8080 --platform=linux/amd64 my-selenium-lambda [ERROR] WebDriverException: Message: unknown error: Chrome failed to start: crashed.(chrome not reachable)(The process started from chrome location /opt/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) I'm getting this error right now, do you have any suggestions for a solution? |
The shown code above and my code is too different. If my original code works fine locally, you can modify step by step to convert my file to your file. Then, you can tell us which added line start causing bugs, instead of just pasting entire file. |
@ahirnish @umihico mehmetturkmen@192 docker-selenium-lambda-memo % docker run -p 8080:8080 --platform=linux/amd64 my-selenium-lambda I also updated the code mehmetturkmen@192 docker-selenium-lambda-memo % docker run -p 8080:8080 --platform=linux/amd64 my-selenium-lambda Current main.py code
|
@Turkmen1Mehmet |
Hi @umihico,
I am using your selenium-docker solution to run headless Chrome browser in AWS Lambda for my project. It is a great help already :)
I need a bit of support and your expert advice on this setup if you dont mind. I'll give a bit of context what I am doing so that its easy for you to give advice. -
I created this headless browser lambda and I am using it to render some images from a URL and then save these images as screenshots in S3. This whole process runs for a big number of URLs (like a stream of URLs to this lambda as input) via AWS Step Functions.
Although its working but there are always about 50-60 URLs (total URLs 3000) which runs into these following messages -
Message: chrome not reachable
Message: unknown error: unhandled inspector error: {"code":-32000,"message":"Unable to capture screenshot"}
Message: unknown error: cannot activate web view
I am trying to understand the problems as to why it happens only for few URLs and not for all. Your help will help me understand more.
Hope to hear back from you. Thank you.
This is my Dockerfile -
This is more like help and not an issue. Please suggest a better way to ask this help if this is no the right place. THank you.
The text was updated successfully, but these errors were encountered: