Skip to content

Proxy hangs if domain is used #1

@merlink01

Description

@merlink01

Example:
resp = requests.get('https://github.com',
proxies=dict(http='socks5://username:password@127.0.0.1:9011',
https='socks5://username:password@127.0.0.1:9011'))

Error: ConnectionRefusedError: [WinError 10061]
HTTP: same Error: http://apache.org/img/uima.jpg

or use Firefox with the option: Use Socks5 for DNS

Any Idea for the reason?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions