Relative Content

Tag Archive for pythonselenium-webdriverwebautomation

Running multiple instances of selenium is generating connection error

I am running selenium automation scripts using python3, on linux and undetected_chrome.
I am also using proxies.
When I run only one instances it works fine and does the job however the moment a second instance is launched I get this error :
2024-04-30 00:09:28 – ERROR – HTTPConnectionPool(host=’localhost’, port=44073): Max retries exceeded with url: /session/2488e939aa54121cb42b165948495489/actions (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7debd7c86fb0>: Failed to establish a new connection: [Errno 111] Connection refused’))
Despite the proxies are changing with each driver.