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

getting 'chrome failed to start' when trying to run an instance of protractor #29

Open
ClemannD opened this issue Oct 4, 2019 · 2 comments

Comments

@ClemannD
Copy link

ClemannD commented Oct 4, 2019

Current setup:
I have an ECS cluster with 4 EC2 instances, one of them running selenium-hub and i have 4 selenium/chrome-node containers running, using your python script to get the nodes and hub to be able to communicate.

Using selenium/3.141.59-vanadium for hub and nodes.

My grid configuration:
Screen Shot 2019-10-04 at 10 42 22 AM

My EC2 instances have 16gb ram, I have given the nodes 2gb ram, and am mounting to dev/shm of the host. (confirmed the mount is actually working by creating test file in dev/shm of host and am able to see it in dev/shm of docker container).

The Issue:
When I start protractor and point it to my selenium hub, I am getting
Screen Shot 2019-10-04 at 10 15 33 AM

All the suggestions when I google (unknown error: DevToolsActivePort file doesn't exist) say to try different combinations of --no-sandbox, --disable-dev-shm-usage and so on, tried them all, no luck.

Was wondering if this issue has been encountered by anyone and what possible solutions may be,
Thank you

@ClemannD
Copy link
Author

ClemannD commented Oct 7, 2019

I ended up solving this.

Turns out we were setting chromeOptions: instead of goog:chromeOptions:.
Not sure what the difference is, since chromeOptions: always worked for us in the past.

@mmerrell
Copy link
Contributor

mmerrell commented Oct 7, 2019 via email

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

No branches or pull requests

2 participants