Resetting dropped connection: api.openai.com

Hi. Anyone got setting dropped connection issue? This is what I got. Everything was running fine just 2 days ago. I have made no changes to the code at all…

2023-05-25 15:45:46,209 [DEBUG] - [openai]: message=‘Request to OpenAI API’ method=post path=…

2023-05-25 15:45:46,209 [DEBUG] - [openai]: api_version=None data=‘{“model”: “gpt-3.5-turbo”, “messages”: [{“role”: “system”, “content”: “You are a …”}, {“role”: “user”, “content”: “Write a tutorial …”}]}’ message=‘Post details’

2023-05-25 15:45:46,211 [DEBUG] - [urllib3 connectionpool]: Resetting dropped connection: api at openai dot com

Joseph

After updating packages on my ubuntu server and restarting the whole server, now process is stuck here for 6 mins (my timeout limit on the ubuntu server):

2023-05-25 16:13:19,938 [DEBUG] - [urllib3.util.retry]: Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)

2023-05-25 16:13:19,941 [DEBUG] - [urllib3.connectionpool]: Starting new HTTPS connection (1): api.openai.com:443

and then my process is stopped and restarted:

[2023-05-25 16:19:20 +0800] [1361] [CRITICAL] WORKER TIMEOUT (pid:1363)
2023-05-25 16:19:20,112 INFO sqlalchemy.engine.Engine ROLLBACK
2023-05-25 16:19:20,112 [INFO] - [sqlalchemy.engine.Engine]: ROLLBACK
[2023-05-25 16:19:20 +0800] [1363] [INFO] Worker exiting (pid: 1363)

Any idea?

Hey! Is this error fixed? I’m starting to notice the same error