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

request error #46

Open
welkinchan opened this issue Sep 10, 2023 · 3 comments
Open

request error #46

welkinchan opened this issue Sep 10, 2023 · 3 comments

Comments

@welkinchan
Copy link

request error:
HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc23c23f1c0>: Failed to establish a new connection: [Errno 111] Connection refused')))

填了自己的API-key。科学上网使用PAC连线,不管发什么,都是报这个错误。

@LiangYang666
Copy link
Owner

抱歉,最近工作有点忙没注意邮件,这个情况应该是代理端口有问题,需要查看下代理软件的端口配置,以及是否是socks5代理还是http代理

@zilong-dy
Copy link

一样的报错。 @welkinchan 请问有解决吗?

@LiangYang666
Copy link
Owner

这个一般是端口填错了,注意看代理软件的端口是哪个,换换端口试试

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