Production error - async generator raised StopAsyncIteration
Problem
Scenario:
- Create new WF
- Close VS code completely
Result:
we are getting error code 408 - which means that the server timeouted before the response arrived .
Additional details:
-
workflow_id: 1008371
-
Error:
{"correlation_id":"01JT1165K7C61VAG0D90VE2X6G", "event":"Response content type: <class 'str'>, content: Error running tool: unexpected status code: 408. Result: {"message":"unexpected status code: 408","status":408}", "gitlab_global_user_id":"OMuzcrOYysuAgXaIL+h/r50WJT8Sh9qDzwmGXUzzVZ4=", "level":"error", "logger":"duo_workflow_service.gitlab.http_client", "timestamp":"2025-04-29T15:05:42.234633Z", "workflow_id":"1008307"}
Note: This is currently the most frequently occurring alert. 52 times a week. There is no direct customer impact.
Outcome
This scenario should not trigger an alert
Implementation Plan
TBD
Edited by Halil Coban