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

Error with the proxy: None #1299

Open
LanmpPython opened this issue Apr 24, 2023 · 6 comments
Open

Error with the proxy: None #1299

LanmpPython opened this issue Apr 24, 2023 · 6 comments
Labels
bug Something isn't working unreproducible Issue can't be reproduced

Comments

@LanmpPython
Copy link

image
Why would you prompt for this error

@LanmpPython LanmpPython added the bug Something isn't working label Apr 24, 2023
@shelld3v shelld3v added the unreproducible Issue can't be reproduced label Sep 27, 2023
@XingXiaoWu
Copy link

same question

@shelld3v
Copy link
Collaborator

@LanmpPython @XingXiaoWu Can you try running with --log file.log and give me the file.log file? It will help me debug this issue. Thanks!

@maurosoria
Copy link
Owner

Hello !

Was this woukarounded?

@Kagantua
Copy link

Okay, I'm having the same problem. In my case, I'm using v2rayn to set up a global proxy, in which case dirsearch would have to use the proxy parameter to set up a local proxy port in order for it to work.

@latxz2025
Copy link

Maybe I used a system proxy, but I turned off the manual proxy in the settings of Windows 11 to solve it.

@nrathaus
Copy link

It sounds like a system proxy setting is overriding the code use by requests.Request to send out requests, and failing, the error returned by dirsearch assumes the ProxyError is from the proxy variable, but this is not true as it is a system proxy that is returning the error

I believe changing this:
err_msg = f"Error with the proxy: {proxy}"

To this:
err_msg = f"Error with the proxy: {e}"

Will reveal the error that the system proxy is to blame here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unreproducible Issue can't be reproduced
Projects
None yet
Development

No branches or pull requests

7 participants