-
Hi, Retrying langchain.chat_models.openai.acompletion_with_retry.._completion_with_retry in 1.0 seconds as it raised APIConnectionError: Error communicating with OpenAI. I've checked the API key and the connection - it all works correctly. I can't figure out how I can this message more verbose to check it further. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi! This retrying message shows up because of API rate limiting from OpenAI side. Are you using a free account? This happens more frequently for free accounts. It can also be due some degraded performance of the API which causes more frequent connection drops. I wouldn’t worry too much about this. The retry mechanism handles this scenario. |
Beta Was this translation helpful? Give feedback.
-
I found the solution for this: Python root TLS certs were not set up. |
Beta Was this translation helpful? Give feedback.
Hi! This retrying message shows up because of API rate limiting from OpenAI side. Are you using a free account?
This happens more frequently for free accounts. It can also be due some degraded performance of the API which causes more frequent connection drops.
I wouldn’t worry too much about this. The retry mechanism handles this scenario.