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

For awareness - Docker network setting enable_icc causes zalenium to fail silently #440

Closed
dgracehmh opened this Issue Feb 14, 2018 · 1 comment

Comments

2 participants
@dgracehmh
Copy link

dgracehmh commented Feb 14, 2018

I spent a bit of time getting to the bottom of why zalenium would not work on my setup. I enabled debug logs etc but they did not help. There is a docker network setting
"com.docker.network.bridge.enable_icc": "true",
This setting allows inter container connectivity. If it is set to false then zalenium will fail.
You can see the docs for it here - https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options

I wanted to log this for visibility in case others have same issue.

I can update documentation for this if you think it is necessary or maybe dig around the code to try catch the issue and log it. If you think this is the way to go could you point me in the right direction in the code and I can have a go?

Zalenium Image Version(s):
3.8.1i
Docker Version:
17.12.0-ce, build c97c6d6
If using docker-compose, version:
na
OS:
Mac OS High Sierra - 10.13.1
Docker Command to start Zalenium:
docker run --rm -d --name zalenium -p 4444:4444 -p 5555:5555 -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp/node/home/seluser/Downloads -v /tmp:/home/seluser/Downloads --label zalenium_main --privileged dosel/zalenium start --desiredContainers 4 --maxDockerSeleniumContainers 4 --maxTestSessions 4 --videoRecordingEnabled false
If using Kubernetes, specify your environment, and if relevant your manifests:

Expected Behavior -

Actual Behavior -

@diemol

This comment has been minimized.

Copy link
Member

diemol commented Feb 15, 2018

Hi @dgracehmh,

Thanks for this information. We are adding a troubleshooting section to the docs soon, so I'll keep this issue open and then we can document it there.

As a side note, I think it just doesn't work with that setting like that (or quite some work is needed to make it work). There was this issue in the official docker-selenium repo about the same thing, and in the end we didn't change the setting.

@diemol diemol referenced this issue Mar 19, 2018

Merged

Adding FAQ #485

@diemol diemol closed this in #485 Mar 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.