-
Notifications
You must be signed in to change notification settings - Fork 50
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
requests.exceptions.ProxyError #2
Comments
@flyingantwjy 把claude_api.py文件末尾的代理地址换成你自己的就可以了。 |
|
我也不会,到现在没弄好
Wang Jiayin
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年8月9日(星期三) 上午8:56
收件人: ***@***.***>;
抄送: "Wang ***@***.***>; ***@***.***>;
主题: Re: [wwwzhouhui/Claude2-PyAPI] requests.exceptions.ProxyError (Issue #2)
@flyingantwjy 把claude_api.py文件末尾的代理地址换成你自己的就可以了。
请问怎么换?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
看这个作者新增的doc代理设置 |
谢谢
Wang Jiayin
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年8月9日(星期三) 上午10:40
收件人: ***@***.***>;
抄送: "Wang ***@***.***>; ***@***.***>;
主题: Re: [wwwzhouhui/Claude2-PyAPI] requests.exceptions.ProxyError (Issue #2)
看这个作者新增的doc代理设置
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
现在出现这个问题了:File "e:/人工智能/claude/Claude2-PyAPI-master/Claude2-PyAPI-master/console_chat.py", line 27, in main |
以上问题都是因为国内网络的问题,我前几天更新了代码,通过代理方式解决。 HTTP_PROXY="http://127.0.0.1:10809" |
@flyingantwjy 代理配置的时候不要使用带有TLS 方式。端口不要使用443端口访问的,因为需要客户端证书配置,这个代码需要修改比较麻烦,所以建议代理走80端口访问 |
requests.exceptions.ProxyError: HTTPSConnectionPool(host='claude.ai', port=443): Max retries exceeded with url: /api/organizations (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000279EFE8C1C8>: Failed to establish a new connection: [WinError 10061]
由于目标计算机积极拒绝,无法连接。')))
The text was updated successfully, but these errors were encountered: