aerokube / selenoid

Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
https://aerokube.com/selenoid/latest/
Apache License 2.0
2.57k stars 322 forks source link

container can't fully access internal site #462

Closed ed84 closed 6 years ago

ed84 commented 6 years ago

I have created a new hyper-v vm using Ubuntu 18.04. I've installed docker, and pulled the images for selenoid/selenoid-ui,ggr and created a docker-compose file. We currently have an internal firewall, so I installed the certificate onto the ubuntu vm. When I open Firefox inside of Ubuntu, I can access all of our internal websites. However, when I execute a test through selenoid/ggr, it can access some of the sites but I get the following error on chrome when it tries to navigate to one of our other internal sites: internaldomainx.com's server IP address could not be found.

err_name_not_resolved

Try:

Even though I can access all of our internal sites from the Ubuntu vm, I tried adding the DNS servers to the docker-compose file but still it breaks.

please advise

aandryashin commented 6 years ago

You have to configure docker daemon and pass to it dns list via --dns option or daemon.json, please refer to docker docs:

https://docs.docker.com/engine/reference/commandline/dockerd/

2018-06-06 20:45 GMT+03:00 ed84 notifications@github.com:

I have created a new hyper-v vm using Ubuntu 18.04. I've installed docker, and pulled the images for selenoid/selenoid-ui,ggr and created a docker-compose file. We currently have an internal firewall, so I installed the certificate onto the ubuntu vm. When I open Firefox inside of Ubuntu, I can access all of our internal websites. However, when I execute a test through selenoid/ggr, it can access some of the sites but I get the following error on chrome when it tries to navigate to one of our other internal sites: internaldomainx.com's server IP address could not be found.

Try:

  • Checking the connection
  • Checking the proxy, firewall, and DNS configuration.

Even though I can access all of our internal sites from the Ubuntu vm, I tried adding the DNS servers to the docker-compose file but still it breaks.

please advise

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aerokube/selenoid/issues/462, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWNbX7TKiRbG3XNAZJMOrWHVwi_dN7-ks5t6BUqgaJpZM4UdFX6 .

ed84 commented 6 years ago

thank you sir!

Lucifar2 commented 1 year ago

@ed84 Were you able to resolve this issue ? I know its been long time but I am facing the same issue. Could you guide me as well. Thanks