FlareSolverrSharp icon indicating copy to clipboard operation
FlareSolverrSharp copied to clipboard

Proxy error

Open VinceGsm opened this issue 3 years ago • 7 comments

Hi,

First of all thanks for this awesome project 👍

I'm trying to access Cloudfare protected website through FlareSolverrSharp, here the error on FlareSolverr.exe : NS_ERROR_PROXY_CONNECTION_REFUSED

image

Ask me if any other information is needed, in advance thank you !

VinceGsm avatar Aug 01 '22 15:08 VinceGsm

The error is clear, flaresolverr can not connect to the proxy. Are you running Flaresolverr in Docker? Use the host machine ip instead of 127.0.0.1

ngosang avatar Aug 01 '22 16:08 ngosang

I'm not using Docker indeed, is there any way to make Flaresolverr.exe run without it ?

VinceGsm avatar Aug 01 '22 16:08 VinceGsm

Yes, flaresolverr works without docker. Check the logs of the proxy or try to use the proxy in your browser to se if its working well.

ngosang avatar Aug 01 '22 19:08 ngosang

As you recommended yesterday i replaced the 127.0.0.1 by my public IP, now the proxy is timeout : image

Here's my code : image

VinceGsm avatar Aug 02 '22 15:08 VinceGsm

Take a look at the tests => https://github.com/FlareSolverr/FlareSolverrSharp/tree/master/test/FlareSolverrSharp.Tests

ngosang avatar Aug 03 '22 20:08 ngosang

Did i miss some configuration or code ? I have the same usage as your readme.md I just ran FlareSolverrSharp.Tests but i'm not comfortable to understand the problem in my case, here's the result : image flaresolverr.exe : image I also tried the tests with my IP instead of 127. for the ProxyUrl, i got the same result.

VinceGsm avatar Aug 04 '22 08:08 VinceGsm

Are you sure the proxy is working? I have tested mine with FlareSolverr and it's working as expected. The error you see is caused by Firefox not being able to use the proxy.

ngosang avatar Aug 04 '22 19:08 ngosang