I got a strange crash in our Android app when usin...
# ktor
h
I got a strange crash in our Android app when using Ktor client and SSE.
We're not closing the SSE session. It just suddenly crashes. No errors on the server (also Ktor)
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