Share feedback, ideas and get community help

Updated 9 months ago

Problems with timeout in requests - BUG

At a glance

The community member is experiencing a timeout issue when communicating with their API, which makes a request to Gemini AI that takes 11 to 17 seconds to respond. Even with a 60-second timeout configured, the request returns a timeout error after 10 seconds. The community members suggest two options to fix this issue: 1) Add a CHAT_API_TIMEOUT environment variable with a value of 60000 (60 seconds), and 2) Pull the next Docker images. There is no explicitly marked answer, but the community members provide suggestions to resolve the problem.

Even configuring a timeout of 60 seconds, when the request reaches 10 seconds, it returns a timeout error. I am trying to communicate with my API, which makes a request to Gemini AI that takes around 11 to 17 seconds to respond, when it is less than 10 seconds the request occurs without problems, I believe this is a BUG in the system.
Attachment
image.png
B
M
T
5 comments
Yes, it was indeed a bug
It will be fixed in next release.
To fix it earlier you have 2 options:
  • Add a CHAT_API_TIMEOUT variable with the value: 60000 for 60 seconds for example
  • Pull the next docker images
I was having a bad time with this.
is correct?
Attachment
image.png
No CHAT_API_TIMEOUT is an environment variable that can be set on your docker containers
Add a reply
Sign up and join the conversation on Discord