Open kennedyjosh opened 8 months ago
Looks like setting headers depends on the HTTPRequestHandler
class being instantiated at some point prior to the code block where the mutex is being acquired, but this isn't happening in this case. Will continue to investigate
Hello,
Thanks for your work here, we are also facing the same issue and looking forward for this solution...
@kennedyjosh did you check the lower part of the readme? It is important to specify the proxy_host='???' which is the IP of the machine on which you are actually running the code. On this machine a website is served by the library. If you do not specify this option selenium will search it on localhost where there is surely nothing exposed. (at least this is my interpretation)
OS:
Ubuntu 22.04 (jammy)
Python:3.10
Selenium-Requests:2.0.3
I have the following docker container running a mocked Chrome browser:
selenium/standalone-chrome
Github link: https://github.com/SeleniumHQ/docker-seleniumExample code to reproduce:
This code will hang on the last line. Here is the output when forcing the program to end using Ctrl + C:
Looks like some sort of deadlock when trying to acquire that mutex to update headers.