Hello. I'm running a Netty-powered Ktor server on ...
# ktor
g
Hello. I'm running a Netty-powered Ktor server on Android and I'm trying to upgrade Ktor from v1.4 to v1.6.1. The server has HTTP endpoints, plus one WebSocket endpoint. The HTTP endpoints are working fine, but the WS one isn't: It doesn't seem to be getting any requests. The WS server is supposed to send a message to the client as soon as the client connects, but it isn't sending anything. I can reproduce this with non-ktor clients too. In fact, the clients never report the connection is established: they just hang waiting for the server to accept it. Is this a known issue? How can I debug this? I've already enabled the
CallLogging
plugin and I can see a lot of debugging when the server starts, but incoming requests aren't logged. I also added some logging at the start of the WS endpoint, but those aren't printed either (that'd be consistent with what I'm seeing on the client: the connection isn't established). So what else can I try to debug this?
👀 3