Skip to content

If SSE session from browser is getting terminated by proxy, adk web should reopen it #307

@Spikhalskiy

Description

@Spikhalskiy

Current behavior

Currently, if /run_sse request is getting terminated by some proxy like nginx, ADK WEB just displays a TypeError: "network error" popup window (that can't be easily traced to anything in any way BTW, there is no detailed error in the browser console or anywhere else, that disappears after several seconds and does nothing.

Expected behavior

ADK should reestablish the SSE request if this happens and there are no persistent connectivity or networking issues. Terminating proxies are a common occurrence.

Also, legitimate network errors should ideally leave some trace, not just show a transient pop-up for a couple of seconds. They should also carry a more descriptive message.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions