Join Slack
Powered by
I got a strange crash in our Android app when usin...
# ktor
h
hellman
05/16/2025, 6:59 AM
I got a strange crash in our Android app when using Ktor client and SSE.
Untitled
hellman
05/16/2025, 6:59 AM
We're not closing the SSE session. It just suddenly crashes. No errors on the server (also Ktor)
hellman
05/16/2025, 7:14 AM
I think I found the cause. I didn't have a
heartbeat {}
in my route. When I added that this crash disappeared.
Copy code
heartbeat { event = ServerSentEvent(event = "keepalive") period = 5.seconds }
👏 1
4
Views
Open in Slack
Previous
Next