I see this in the server log:
...
/remoting/websocket/(method:GET), segment:2 -> SUCCESS @ /remoting/websocket/(method:GET)
/remoting/websocket/(method:GET)/(header:Connection = Upgrade), segment:2 -> FAILURE "Selector didn't match" @ /remoting/websocket/(method:GET)/(header:Connection = Upgrade)
Does it mean that the client should send a
Connection=Upgrade
header but it does not?
The client log contains this:
2023-06-23 18:51:21,026 TRACE [ktor-client-java-3] i.k.client.plugins.websocket.WebSockets - Skipping WebSocket plugin for non-websocket request: <http://localhost:10150/remoting/websocket>
I'm confused, the client tries to connect using
httpClient.webSocketSession()
, why does this call result in a non-websocket request?