VoiceInk icon indicating copy to clipboard operation
VoiceInk copied to clipboard

BUG - Gemini requests are getting timed out very quickly.

Open avinashkanaujiya opened this issue 4 months ago • 6 comments

Is there a timeout enforced by Voiceink itself? Gemini requests—especially 2.5 Flash model requests—are getting timed out very quickly. Maybe Voiceink is applying this timeout, or it could be an issue on the Gemini side.

I’m fine with transcriptions taking 20-30 seconds to complete because the prompts I work with are very complex, so they naturally require more time. Perhaps consider increasing the request timeout for thinking models. If it’s not Voiceink causing this, I’m unsure why my requests keep timing out so quickly. This issue has been occurring since July 27th or 28th.

avinashkanaujiya avatar Jul 29 '25 04:07 avinashkanaujiya

Image

The error doesn't seem to be coming from the timeout itself because it occurs very quickly. It's not even taking 10 seconds for the error to hit.

Something else might be causing this issue.

avinashkanaujiya avatar Jul 29 '25 05:07 avinashkanaujiya

I can confirm that I'm receiving this issue for gemini-2.5-pro also. Removing the "AI provider integration" API key solves the issue temporarily.

michael-sumner avatar Aug 07 '25 11:08 michael-sumner

@michael-sumner You mean like removing the AI enhancement altogether?

avinashkanaujiya avatar Aug 07 '25 15:08 avinashkanaujiya

@avinashkanaujiya yes try seeing if you can remove the API key and then if it works?

Image

michael-sumner avatar Aug 07 '25 16:08 michael-sumner

I already tested it and I know why it's happening: voicing had a default limit of 10 seconds, and now it's about 30. If any prompt is complicated, or Gemini models tend to get stuck and take more than thirty seconds to complete, it will hit the timeout.

It will show up as a custom error: "The request timed out."

avinashkanaujiya avatar Aug 08 '25 06:08 avinashkanaujiya

@avinashkanaujiya looks like if you also set the "AI Provider" to "Custom" (Even if it's empty) then fixes the "long transcribing..." issue.

Image

michael-sumner avatar Aug 11 '25 16:08 michael-sumner