root@DebMispatch:~/python_missPatch/selenium# python3.8 test_wire_proxy_selenium.py DEBUG:seleniumwire.proxy.handler:http://seleniumwire/initialise 200 INFO:seleniumwire.proxy.client:Created proxy listening on 127.0.0.1:39007 DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:39009/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "chrome", "platformName": "any", "proxy": {"proxyType": "manual", "httpProxy": "127.0.0.1:39007", "sslProxy": "127.0.0.1:39007", "noProxy": ""}, "acceptInsecureCerts": true, "goog:chromeOptions": {"extensions": [], "args": ["--headless", "--disable-dev-shm-usage", "--no-sandbox"]}}}, "desiredCapabilities": {"browserName": "chrome", "version": "", "platform": "ANY", "proxy": {"proxyType": "manual", "httpProxy": "127.0.0.1:39007", "sslProxy": "127.0.0.1:39007", "noProxy": ""}, "acceptInsecureCerts": true, "goog:chromeOptions": {"extensions": [], "args": ["--headless", "--disable-dev-shm-usage", "--no-sandbox"]}}} DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:39009 DEBUG:urllib3.connectionpool:http://127.0.0.1:39009 "POST /session HTTP/1.1" 200 771 DEBUG:selenium.webdriver.remote.remote_connection:Finished Request DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:39009/session/bbb395f2c995691bbe898316f64b2e77/url {"url": "https://ipinfo.io/json"} DEBUG:seleniumwire.proxy.handler:ipinfo.io:443 200 INFO:seleniumwire.proxy.handler:Capturing request: https://ipinfo.io/json ERROR:seleniumwire.proxy.handler:Error making request Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 91, in proxy_request conn.request(self.command, path, req_body, dict(req.headers)) File "/usr/local/lib/python3.8/http/client.py", line 1230, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1276, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1225, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1004, in _send_output self.send(msg) File "/usr/local/lib/python3.8/http/client.py", line 944, in send self.connect() File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 368, in connect super().connect() File "/usr/local/lib/python3.8/http/client.py", line 1392, in connect super().connect() File "/usr/local/lib/python3.8/http/client.py", line 920, in connect self._tunnel() File "/usr/local/lib/python3.8/http/client.py", line 894, in _tunnel (version, code, message) = response._read_status() File "/usr/local/lib/python3.8/http/client.py", line 264, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/local/lib/python3.8/socket.py", line 669, in readinto return self._sock.recv_into(b) socket.timeout: timed out DEBUG:urllib3.connectionpool:http://127.0.0.1:39009 "POST /session/bbb395f2c995691bbe898316f64b2e77/url HTTP/1.1" 200 14 DEBUG:selenium.webdriver.remote.remote_connection:Finished Request DEBUG:selenium.webdriver.remote.remote_connection:GET http://127.0.0.1:39009/session/bbb395f2c995691bbe898316f64b2e77/source {} DEBUG:urllib3.connectionpool:http://127.0.0.1:39009 "GET /session/bbb395f2c995691bbe898316f64b2e77/source HTTP/1.1" 200 81 DEBUG:selenium.webdriver.remote.remote_connection:Finished Request DEBUG:selenium.webdriver.remote.remote_connection:GET http://127.0.0.1:39009/session/bbb395f2c995691bbe898316f64b2e77/source {} DEBUG:urllib3.connectionpool:http://127.0.0.1:39009 "GET /session/bbb395f2c995691bbe898316f64b2e77/source HTTP/1.1" 200 81 DEBUG:selenium.webdriver.remote.remote_connection:Finished Request DEBUG:seleniumwire.proxy.handler:http://seleniumwire/find?path=%2Fjson 200 DEBUG:seleniumwire.proxy.handler:http://seleniumwire/find?path=%2Fjson 200 DEBUG:seleniumwire.proxy.handler:http://seleniumwire/find?path=%2Fjson 200 DEBUG:seleniumwire.proxy.handler:http://seleniumwire/find?path=%2Fjson 200