Skip to content

Production error - async generator raised StopAsyncIteration

Problem

Scenario:

  1. Create new WF
  2. Close VS code completely

Result:

we are getting error code 408 - which means that the server timeouted before the response arrived .

Additional details:

  1. senty error

  2. workflow_id: 1008371

  3. relevant logs

  4. 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