ulixee / hero

The web browser built for scraping
MIT License
649 stars 32 forks source link

Slow connection while using TOR as proxy #197

Closed loss-and-quick closed 1 year ago

loss-and-quick commented 1 year ago

i use https://github.com/ohld/tor-proxy container for tor and when i use this proxy as main proxy in my chrome browser so all works fine and it is working fast , but if use with hero there is slow connection or timeouts. How solve this?

blakebyrnes commented 1 year ago

Are you setting the upstreamProxyUrl to a socks5 proxy that's your tor container? I don't know much about tor.

The underlying tls library uses golang. I wonder if there's any issues connecting to TOR with go's tls or the tls mimicking library we use (https://github.com/refraction-networking/utls)?

loss-and-quick commented 1 year ago

Are you setting the upstreamProxyUrl to a socks5 proxy that's your tor container? I don't know much about tor.

The underlying tls library uses golang. I wonder if there's any issues connecting to TOR with go's tls or the tls mimicking library we use (https://github.com/refraction-networking/utls)?

I used http proxy,i will try socks

loss-and-quick commented 1 year ago

Are you setting the upstreamProxyUrl to a socks5 proxy that's your

After using a socks proxy all works fine, but where is new problem with bypassing site's proxy checking https://github.com/ulixee/hero/issues/198