selenium-wire icon indicating copy to clipboard operation
selenium-wire copied to clipboard

timing issue in HAR while using proxy

Open shane-zhang opened this issue 1 year ago • 0 comments

Hi, I encounter a timing issue in the HAR file while using the proxy. In our case, we need to apply different proxies each time and then get the same webpage we hosted on Cloudflare, to simulate the web page retrieval at different networks and places.

We are using sock5 proxies that are provided by one large proxy provider, and then get the webpage and store the HAR file.

We found a very odd case: the server we currently used is in North Carolina, are fetched and used one Japan server; while getting that webpage, the request landed on one server in Memphis, TN. But the timing of the HAR file shows the connect time of the whole path (NC server->JP proxy->TN server) is only 25 ms...

The proxy IP is 219.100.37.246, am I getting something wrong here, or the HAR file counts the times differently? Or could the proxy I configured with seleniumwire-options has conflict with MITMProxy ?

Thanks.

shane-zhang avatar Aug 22 '22 20:08 shane-zhang