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

Connection Error #171

Open
Louis24 opened this issue Jan 22, 2024 · 1 comment
Open

Connection Error #171

Louis24 opened this issue Jan 22, 2024 · 1 comment

Comments

@Louis24
Copy link

Louis24 commented Jan 22, 2024

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.twitter.com', port=443): Max retries exceeded with url: /1.1/guest/activate.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001A470D19C40>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。'))

@Louis24
Copy link
Author

Louis24 commented Jan 22, 2024

The location is based China, but I have added
import socks

socks.set_default_proxy(socks.SOCKS5, "proxy_host", 7890)

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

1 participant