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

Ovsyannikov Alexey

09/02/2020, 3:22 PM
Hello. I am using ktor 1.4.0 and trying to use websockets. Setup contains: websocket client, websocket server, ktor 1.4.0, launching of websocket on client side working inside of flow. I faced the problem that it is blocking the thread and the whole page freezing. It would partially ok in case, if request would reach its destimation, but on server side there are no any tracing of connection receiving (I have enabled it) and there are no any action triggered inside of websocket routing.
Is there some information about situations like this? Maybe, there is some solution?
Currently, I have partially solved this issue with native websockets on JS target, but I am not pretty sure that it will work correctly
2 Views