NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000019FF0C76DB0>
Closed this issue · 0 comments
I followed the steps described in the section titled "Microsoft Windows - Running ChromeDriver natively (without Docker)." The interface doesn't display "via localhost" part in any way. Everything else seems normal. I also tried using the Chrome API but got the same error. I added the folder where ChromeDriver is located to the path, but that wasn’t enough. I copied it to every folder I could think of.
However, I keep getting this error:
Exception: HTTPConnectionPool(host='browser-chrome', port=4444): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000019FF0C76DB0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
I’m thinking there’s an issue with ChromeDriver or something is blocking it, but I have other bots that use ChromeDriver, and they work fine. However, I’m not using Chrome on top of ChromeDriver. I'm using Chromium. Chrome keeps updating itself constantly, and it won’t allow me to install an older version that is compatible with ChromeDriver.
I would think this is the issue, but why are my other bots still working?
If this is indeed the problem, how can I solve this issue of installing an older version of Chrome?