ERR_ABORT_HANDLER
Error Cause
This error can occur for various reasons. If this error appears when calling large models, please try the following solutions:
- Ensure that requests using streaming output (Server-sent Event) include
text/event-streamin request headerAccept, otherwise request will timeout after 60 seconds; - 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.