Another SSE question/issue: When my ktor server r...
# ktor
r
Another SSE question/issue: When my ktor server running on localhost, all works fine, but when deployed to an ec2 instance, the first
.send
always seems to fail due to
ClosedWriteChannelException
and my clients (wasm) receives a 502 for GET on my sse endpoint. (this is when the server tries to send it, the initial connect succeeds) Then if I subscribe my client again and send an event again, it goes through. Any ideas why?
👍 1