-
Notifications
You must be signed in to change notification settings - Fork 4k
Requests timing out #108
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
Comments
Hi @RaulSantanaTrejo, thanks for the issue! That's...odd. I don't have an immediate reason for why that's happening. We've heard occasional reports about connection issues related to docker firewalls, but not quite like this. Usually the errors are more consistent in that case. We're probably going to need more information in order to debug this (especially your org id so we can look at the requests in question). Any chance you could forward this issue to [email protected]? They should be able to better assist you on this issue (this is just the python interface and isn't as equipped to handle API errors) |
Thank you for the quick reply! I will contact the support team and update this if the problem is not just on our end |
I'm going to close out this issue. Feel free to reopen it if needed |
…ai#63) * Add get_embeddings() * Add Visualize_in_3d notebook * Add dbpedia_samples.jsonl * black reformat openai/embeddings_utils.py * resolve comments * Remove .ipynb_checkpoints * fix build
…ai#63) * Add get_embeddings() * Add Visualize_in_3d notebook * Add dbpedia_samples.jsonl * black reformat openai/embeddings_utils.py * resolve comments * Remove .ipynb_checkpoints * fix build
Bug openai#107. fix typo in tracing.md
Uh oh!
There was an error while loading. Please reload this page.
I am running a Python backend service using fastapi and a docker container and every once in a while all requests start timing out for no apparent reason. The same request can time out and suddenly work an hour later. The service is under development so my team is the only one currently using our keys and service. I have created a simple call with no fancy logic and using the ada model but this still times out (see code below). I get
"error.APIConnectionerror("error communicating with OpenAI")"
coming from
"requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/engines/text-ada-001/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3052475310>: Failed to establish a new connection: [Errno 110] Connection timed out'))"
Code:
Any advice is appreciated
The text was updated successfully, but these errors were encountered: