Ivan Kupriyanov
10/14/2022, 6:16 PMktor.client
from 1.6.8
to 2.1.1
- nothing happens when I try to open a websocket. There are no errors, no logs with engine { this@HttpClient.developmentMode = true }
, even no connection in devTools/Network tab. Same issue in Chrome and Firefox. It's hard to provide minimal reproducible example as I'm talking about interactive maps, and this issue (causes tiles to not load) happens only in https://datalore.jetbrains.com/ and works well in kaggle, colab, jupyter, deepnote, nextjournal.
The last line to be executed is:
https://github.com/JetBrains/lets-plot/blob/master/gis/src/commonMain/kotlin/jetbrains/gis/tileprotocol/socket/TileWebSocket.kt#L24
Code inside this receiver never runs in datalore.
I understand that it is very difficult to diagnose a problem without an example, but even a tiny tip what have been changed in 2.0.0
and what can cause such behaviour can help.
Thanks in advance.
Issue: https://youtrack.jetbrains.com/issue/KTOR-4993