Hello, I'm doing my first tests with Zrok, for this I'm using an application I developed, it consists of a web interface in ReactJs that uses websockets to receive notifications from the backend. Whenever the user logs into the application, a websocket connection (wss://) is established using the same https port (https://), and should stay that way until the user disconnects. If the connection to this websocket is lost, the application will lock the screen, warning you about the disconnection, and try to reconnect after a few seconds.
I'm using the command: zrok share reserved, everything seems to work normally when the user logs in. But when I stop interacting with the web interface, and just look at it for about 1 minute, the connection to the websocket is closed, the application shows this to the user, and tries to reconnect, it manages to connect again, but after 1 minute the disconnection occurs again.
Is there any time limitation that a websocket connection can remain open without executing any requests?
When I access this same application without using Zrok, this problem does not occur.
Here are the messages I get when the connection is closed:
¦(msg type: 60786) ¦
¦[ 77,774] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).Read: {marker=[9l4jyAu8] connId=[2147483649]} reading 1004 bytes ¦
¦[ 77,867] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).Read: {connId=[2147483649] marker=[9l4jyAu8]} unexpected sequencer err (read timed out) ¦
¦[ 77,867] DEBUG sdk-golang/ziti/edge.(*MsgChannel).WriteTraced: {edgeSeq=[2] connId=[2147483649] type=[EdgeDataType] chSeq=[-1]} writing 167 bytes ¦
¦[ 77,882] DEBUG sdk-golang/ziti/edge.(*MsgChannel).WriteTraced: {type=[EdgeDataType] chSeq=[-1] edgeSeq=[3] connId=[2147483649]} writing 163 bytes ¦
¦[ 137,998] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).Accept: {connId=[2147483649] type=[EdgeStateClosedType] chSeq=[15] edgeSeq=[3]} received 12 ¦
¦bytes (msg type: 60785) ¦
¦[ 137,998] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).Read: {connId=[2147483649] marker=[9l4jyAu8]} received ConnState_CLOSED message, closing ¦
¦connection¦
¦[ 137,998] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).close: {connId=[2147483649] marker=[9l4jyAu8]} close: begin ¦
¦[ 138,002] DEBUG sdk-golang/ziti/edge/network.(*edgeConn).close: {connId=[2147483649] marker=[9l4jyAu8]} close: end