https://kotlinlang.org logo
#ktor
Title
# ktor
a

Andrey Tabakov

09/20/2022, 6:49 AM
Hi I have a problem with ktor websockets, it closes the channel from time to time (randomly, I have no idea why). Client channel getting error 1006 (closed abnormally), how can I figure out what's going on? Is there a mechanism for auto-reconnect?
a

August Lilleaas

09/20/2022, 9:08 AM
are you connecting directly to the ktor server, or through a proxy or ssl terminator or load balancer etc?
a

Andrey Tabakov

09/20/2022, 9:08 AM
Direct on same machine
I use a multiplatform JVM+JS. JVM (CIO), JS (Js http engine)
4 Views