Title: Vertex AI Gemini 3.8 Flash — repeated HTTP 429 responses and connection disconnect after 60 seconds
I’m using Vertex AI with Gemini 3.8 Flash, the global endpoint, and streamGenerateContent over HTTP/SSE. Requests are sequential, with concurrency set to 1.
During a short evaluation on October 21, 2026, 11 POST attempts resulted in:
For the final failure, a fresh TCP connection and TLS handshake completed, and the request body was sent. The client then waited approximately 60.17 seconds for response headers before the connection closed. The client received neither an HTTP status nor a request ID.
Existing Cloud Monitoring data recorded five HTTP 200 responses, five HTTP 429 responses, and one HTTP 499 at one-minute resolution for the shared standard global model-serving path. No matching quota-exceeded time series or relevant Cloud Logging records were found. Data Access audit logging for AI Platform was not enabled at the time.
The 429 response bodies and Retry-After values were not retained, so I cannot determine their precise cause.
My questions:
-
Is there a way to distinguish project-level quota enforcement from shared model-capacity constraints when HTTP 429 response details are unavailable?
-
What does an HTTP 499 in Vertex AI’s model invocation metrics generally indicate when the client observed a disconnect before receiving response headers?
-
Are there additional existing monitoring metrics or documented troubleshooting steps that could help distinguish provider-side capacity issues from connection-path failures, without making repeated inference requests?
I’m not assuming that this is a quota issue or that Google closed the connection. I’m looking for guidance on interpreting the available evidence before deciding whether to change the client or evaluation strategy.
For additional context, Gemini suggested the following three discussions describing potentially related issues:
-
429 with no quota or rate limit hit
-
High 429 Error Rates with Gemini 2.0 Flash on Vertex AI
-
Gemini 2.5 Flash on Vertex AI returns 429 RESOURCE_EXHAUSTED
(Sorry, as a new user I am not allowed to have 3 or more links in my post…)
These involve other Gemini model versions, so I understand they may not have the same underlying cause. However, they describe similar 429 errors despite low traffic or apparently unused quotas.
Here is what I found in my own investigation:
-
I ran a sequential evaluation using Gemini 3.8 Flash through Vertex AI’s global endpoint, with concurrency set to 1.
-
In one run, 11 POST attempts produced five HTTP 200 responses, five HTTP 429 responses, and one request that failed without the client receiving an HTTP status.
-
Existing Cloud Monitoring metrics, at one-minute resolution, recorded the same counts: five 200, five 429, and one 499 on the shared Standard global StreamGenerateContent path.
-
No quota-exceeded time series or corresponding Cloud Logging records were found for the relevant window.
-
For the final failed request, a fresh TCP connection and TLS handshake completed, and the request body was sent. The client then waited approximately 60.17 seconds for response headers before receiving RemoteProtocolError: Server disconnected without sending a response. No request ID was received by the client.
I have already tried sequential requests, the global endpoint, bounded retries for HTTP 429, and disabling idle connection reuse. The evaluation still failed, so I have stopped running further tests for now.
I would appreciate any guidance on three questions:
-
Can Gemini 3.8 Flash on Vertex AI’s shared Standard global endpoint return HTTP 429 because of Dynamic Shared Quota or shared serving capacity even when no project quota-exceeded metric is recorded?
-
How should the HTTP 499 in the serving metrics be interpreted when the client itself received no response status and waited approximately 60 seconds for response headers?
-
Are there any existing metrics or documented troubleshooting steps that can distinguish project-level quota enforcement from shared-capacity contention, without repeatedly sending inference requests?
I do not have a paid technical support plan, so I am hoping the community may be able to shed some light on this. I am not assuming that the problem is a quota issue or that the connection was necessarily closed by Google; I would like to understand what the evidence supports before changing the implementation further.
Thank you for any suggestions.