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

add proxies to overcome connection error #10

Open
stevie1023 opened this issue Jul 28, 2023 · 4 comments
Open

add proxies to overcome connection error #10

stevie1023 opened this issue Jul 28, 2023 · 4 comments

Comments

@stevie1023
Copy link

Hi, there appears to be a connection error when it tries to fetch the openai api, how and where can i add a proxy setting to overcome this issue? could you please provide a minimal script? Thanks in advance!

@ChristopheZhao
Copy link
Owner

@stevie1023 Hi, what kind of error did it report when you ran your code? And have you tried using a VPN?

@stevie1023
Copy link
Author

hi, this is the error reported and i have no idea how to add a proxy to the script :)
image

@ChristopheZhao
Copy link
Owner

@stevie1023 I solved this problem by using VPN,which I recommend you use because OpenAI does not support network access to its service in some regions.

@stevie1023
Copy link
Author

hi, thanks for your reply and I'll try that.

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

2 participants