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

关于 OpenAI 接口请求超时 #1

Closed
GanymedeNil opened this issue Mar 10, 2023 · 5 comments
Closed

关于 OpenAI 接口请求超时 #1

GanymedeNil opened this issue Mar 10, 2023 · 5 comments

Comments

@GanymedeNil
Copy link
Owner

长时间无法响应是因为OpenAI接口已经被ban,已经有很多公开的方案了,请善用搜索

@GanymedeNil GanymedeNil pinned this issue Mar 10, 2023
@imchao9
Copy link

imchao9 commented Mar 14, 2023

你好,我看了这个项目用的是httpx来进行的请求
而我通过httpx来请求,并设置代理后,访问向量服务器就会报502
目前没有找到比较好的解决办法,有什么思路可以提供一下吗

@GanymedeNil
Copy link
Owner Author

你好,我看了这个项目用的是httpx来进行的请求 而我通过httpx来请求,并设置代理后,访问向量服务器就会报502 目前没有找到比较好的解决办法,有什么思路可以提供一下吗

你可以尝试设置 no_proxy 向量服务器地址来绕过代理

@TOM08323049
Copy link

但是国内的IP被openai API拒绝访问,这个有什么办法解决吗?

@TOM08323049
Copy link

如果我根据自己的vpn设置端口,openai.proxy = 'http://127.0.0.1:10010/'
最后的报错是这样的qdrant_client.http.exceptions.ResponseHandlingException: timed out

@GanymedeNil
Copy link
Owner Author

如果我根据自己的vpn设置端口,openai.proxy = 'http://127.0.0.1:10010/' 最后的报错是这样的qdrant_client.http.exceptions.ResponseHandlingException: timed out

请查看上面我回复的

Repository owner locked as off-topic and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants