You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server-Sent Events (SSE) connections to the /events endpoint hang indefinitely when AgentAPI is deployed in Coder workspaces. The connection opens successfully but no events are received due to proxy buffering.
Expected behavior
SSE connections should remain open and stream events in real-time for the chat interface.
Actual behavior:
EventSource shows readyState: 1 (OPEN) successfully
Connection appears established but hangs indefinitely
No SSE events are received (message_update, status_change)
Chat interface becomes non-functional - messages appear stuck
After ~60 seconds, connection may timeout and show error