AIStudio2API icon indicating copy to clipboard operation
AIStudio2API copied to clipboard

I got this error, what do they mean?

Open mondermurshed opened this issue 1 month ago • 2 comments

As you can see in the screenshot. Image

mondermurshed avatar Oct 26 '26 18:10 mondermurshed

Hi, these are two different problems: The 504 means the request hit your 5-minute REQUEST_TIMEOUT, which comes from an old .env (the default has been 30m since v0.2.13). Raise it to 30m in Settings and restart the service so long answers aren’t cut off. Separately, gemini-4-argon occasionally takes minutes to return its first token, so if nothing has appeared for a while, resending the request is often faster than waiting more than 5 minutes. I’ll add this feature in the next version. The 502 means Google ended the stream before the response finished. This is mostly transient, so just retry.

Mag1cFall avatar Oct 26 '26 19:10 Mag1cFall

Thank you so much.

mondermurshed avatar Oct 27 '26 01:10 mondermurshed