Yassine Abou
03/17/2026, 1:25 AM101 Switching Protocols in the client logs — and the service proxy is created via withService<MyService>() without error. However, the actual method call never returns. It just hangs until my timeout fires. The server logs show the WebSocket connection is accepted, but it appears no kRPC protocol frames ever arrive on the server side.
Client log output:
Info: Creating new RPC connection to <http://127.0.0.1:8081/api>
Debug: REQUEST: <ws://127.0.0.1:8081/api> — METHOD: GET
Debug: RESPONSE: 101 Switching Protocols — FROM: <ws://127.0.0.1:8081/api>
// ... then nothing — call hangs until timeout or scope cancellation
Source code:
- RpcClientProvider.kt
-Application.kt (server)
- App.kt
-DI.ktAlexander Sysoev
03/17/2026, 9:00 AMAlexander Sysoev
03/17/2026, 2:42 PMandylamax
03/17/2026, 2:44 PMYassine Abou
03/17/2026, 2:51 PMYassine Abou
03/17/2026, 4:28 PMYassine Abou
03/17/2026, 4:28 PMYassine Abou
03/17/2026, 4:28 PMYassine Abou
03/20/2026, 1:35 PMAlexander Sysoev
03/20/2026, 3:50 PMAlexander Sysoev
03/20/2026, 3:51 PMYassine Abou
03/20/2026, 6:36 PM