Does Traefik support Server Side Events (SSE)?
We are using SSE with NodeJS/SvelteKit and it seems to work over Traefik proxy.
1 Like
Thank you for your answer. Are you using any Load Balancer in front of Traefik Proxy?
Not yet for the SSE application. And we use Docker, no k8s/k3s.
Got it. Thank you again for your reply.
I would expect SSE to work over standard http/s and just use some long polling or WS kind of mechanism. This usually just works.
Traefik has introduced default limits to how long connections will be held open, so your app needs to re-connect if the connection is lost.
That should be standard behavior anyway, as a network connection can always break for a moment.
Yes, I agree. The app should be able to reconnect with the connection timeout is over.