Skip to content

fix(app): ensure SSE stream works for remote and local servers#13290

Open
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:fix/sse-stream-custom-server
Open

fix(app): ensure SSE stream works for remote and local servers#13290
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:fix/sse-stream-custom-server

Conversation

@Danztee
Copy link
Contributor

@Danztee Danztee commented Feb 12, 2026

What does this PR do?

Remote servers (e.g., behind Twingate/VPN) need platform.fetch (Tauri) to access OS-level networking routes. I updated the event stream to use the native platform fetch for remote connections while keeping browser fetch for localhost to ensure reliable local streaming.

How did you verify your code works?

Tested with a headless server on a local IP. Confirmed that streaming works for both remote/IP and localhost connections in the desktop app. UI now updates in real-time as expected (see screenshot).

Screenshot 2026-02-12 at 09 25 21

Fixes #13211

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Danztee
Copy link
Contributor Author

Danztee commented Feb 12, 2026

please can you check this @rekram1-node @adamdotdevin

@alexandrereyes
Copy link

Please @adamdotdevin 🙏
Desktop is unusable for everyone who uses zero-trust networks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desktop app: SSE event stream broken with custom remote server (regression)

2 participants