Improve Connection Stability

Hello,

We’ve ported our server from Godot ENet to Nakama recently. Godot used UDP, so the games were mostly uninterrupted. But with Nakama some players are experiencing random disconnects due to websockets. Is there any way to make the connection more reliable? Or maybe a way to ignore the webosocket ping-pong and just send over TCP? I’m not sure if that’ll work.

Here is my current config:

socket:
 max_message_size_bytes: 4096 # reserved buffer
 max_request_size_bytes: 6291456
 write_timeout_ms: 20000
 read_timeout_ms: 20000
 write_wait_ms: 5000
 outgoing_queue_size: 32
 pong_wait_ms: 35000

During matches players gets 30s to make a move, and sometimes it disconnects midway causing them to lose their turn. Any suggestions would be appreciated!

Hello, any help on this?