Closed thedefside closed 1 year ago
Hi, looks like you're using the jdk-18 image?
You can see the hosts file as follows:
$ docker run --rm -it markhobson/maven-chrome:jdk-18 cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.2 5cc4463b50b4
And it looks like IPv6 is enabled:
$ docker run --rm -it markhobson/maven-chrome:jdk-18 cat /sys/module/ipv6/parameters/disable
0
Can you reproduce this problem locally or does it only occur in GitLab?
Closing due to inactivity.
I'm getting this error when running my selenium tests in your container. The error appears right after the chromedriver is started:
Then, all my tests fail with the same error:
I am running the docker container in a gitlab pipeline. So far, this specific error seems to be related to either the hosts file or IPv6 being disabled.
https://stackoverflow.com/a/48161643/9558744 https://bugs.chromium.org/p/chromium/issues/detail?id=700347
I was wondering if you could verify for me that the hosts file is configured correctly, and that the version of linux used supports IPv6. Thank you!