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

equest error #39

Open
chenchen333-dev opened this issue Jun 30, 2023 · 6 comments
Open

equest error #39

chenchen333-dev opened this issue Jun 30, 2023 · 6 comments

Comments

@chenchen333-dev
Copy link

request error: ('Connection aborted.', OSError(0, 'Error'))

@chenchen333-dev
Copy link
Author

image

@LiangYang666
Copy link
Owner

您好,请问程序报错了吗

@chenchen333-dev
Copy link
Author

chenchen333-dev commented Jul 2, 2023 via email

@LiangYang666
Copy link
Owner

感觉是系统包报错,麻烦看下程序报错情况,看看具体在哪个位置报错

@chenchen333-dev
Copy link
Author

chenchen333-dev commented Jul 2, 2023 via email

@TTTTTOMGQ
Copy link

TTTTTOMGQ commented Jul 25, 2023

其实是request没有设置代理,需要自己添加proxies参数,代码中有两处都要添加。
response = requests.request("POST", url, headers=header, json=data, stream=True, proxies=proxies)

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