Skip to main content

ERR_ABORT_HANDLER

Encountering an error? Get help with AI tools

Error Cause​

This error can occur for various reasons. If this error appears when calling large models, please try the following solutions:

  1. Ensure that requests using streaming output (Server-sent Event) include text/event-stream in request header Accept, otherwise request will timeout after 60 seconds;
  2. Ensure SSE (Server-sent Event) response continuously returns data, avoiding connection being closed after long idle time (exceeds 60 seconds). You can use comment lines for timed heartbeat keep-alive in SSE connection, for example : ping. See: Event Stream Format.

If this error appears in CloudRun (function mode) response, try redeploying hosting service to upgrade to latest framework version with built-in SSE keep-alive.