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

Socket error: 0x5b: Request rejected or failed #118

Open
Murukaen opened this issue Feb 9, 2019 · 2 comments
Open

Socket error: 0x5b: Request rejected or failed #118

Murukaen opened this issue Feb 9, 2019 · 2 comments

Comments

@Murukaen
Copy link

Murukaen commented Feb 9, 2019

Hi. How can I further debug the above? Thx

@rewiaca
Copy link

rewiaca commented Nov 4, 2019

Same error.

s = socks.socksocket()
s.set_proxy(socks.SOCKS4, proxy, port)
s.connect((host, 80))
s.send(request)

Seems that PySocks doesnt work even with documented examples.
When I remove line with set_proxy, script works fine.

@NullPointerMaker
Copy link

NullPointerMaker commented Jun 11, 2021

Occurred when using the SOCKS4 proxy.

Using python-socks instead of pysocks can fix this issue.

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

No branches or pull requests

3 participants