Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy error #12

Open
VinceGsm opened this issue Aug 1, 2022 · 7 comments
Open

Proxy error #12

VinceGsm opened this issue Aug 1, 2022 · 7 comments
Labels
question Further information is requested

Comments

@VinceGsm
Copy link

VinceGsm commented Aug 1, 2022

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 !

@ngosang
Copy link
Member

ngosang commented Aug 1, 2022

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

@VinceGsm
Copy link
Author

VinceGsm commented Aug 1, 2022

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

@ngosang
Copy link
Member

ngosang commented Aug 1, 2022

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.

@VinceGsm
Copy link
Author

VinceGsm commented Aug 2, 2022

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

@ngosang
Copy link
Member

ngosang commented Aug 3, 2022

@ngosang ngosang added the question Further information is requested label Aug 3, 2022
@VinceGsm
Copy link
Author

VinceGsm commented Aug 4, 2022

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.

@ngosang
Copy link
Member

ngosang commented Aug 4, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants