Hi,
I’m trying to join an authoritative match after creating it with rpc. I see it attempting to join then joining the match but then, I get a connection error, then leave match. I’m not sure if the disconnect is related to the join match as I’ve seen it happen after another rpc call or just waiting for a bit. In Godot, the yield never completes so it hangs. After the disconnect, reruning the same command then gives me a “request cancelled”. Do you have any idea what maybe causing this and point me in the right direction?
Thanks in advance,
My setup:
- Godot 3.2.2
- Docker
Here’s my log:
nakama | {"level":"info","ts":"2020-11-21T08:35:30.931Z","caller":"server/session_ws.go:80","msg":"New WebSocket session connected","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46","format":0} nakama | {"level":"debug","ts":"2020-11-21T08:35:40.423Z","caller":"server/pipeline.go:62","msg":"Received *rtapi.Envelope_MatchJoin message","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46","cid":"1","message":{"MatchJoin":{"Id":{"MatchId":"ee4b7195-b257-44c6-9e68-9762f1c391a6.nakama1"}}}} nakama | {"level":"info","ts":"2020-11-21T08:35:40.424Z","caller":"server/runtime_lua_nakama.go:1716","msg":"match join attemp","runtime":"lua"} nakama | {"level":"info","ts":"2020-11-21T08:35:40.424Z","caller":"server/runtime_lua_nakama.go:1716","msg":"match join","runtime":"lua"} nakama | {"level":"debug","ts":"2020-11-21T08:35:40.424Z","caller":"server/session_ws.go:390","msg":"Sending *rtapi.Envelope_Match message","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46","envelope":"cid:\"1\" match:{match_id:\"ee4b7195-b257-44c6-9e68-9762f1c391a6.nakama1\" authoritative:true label:{value:\"Multiplayer Chess\"} self:{user_id:\"ea56071b-2f65-42bb-9927-42e1806c0111\" session_id:\"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46\" username:\"AoGZRYtDDG\"}}"} nakama | {"level":"debug","ts":"2020-11-21T08:35:40.424Z","caller":"server/tracker.go:672","msg":"Processing presence event","joins":1,"leaves":0} nakama | {"level":"debug","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:198","msg":"Error reading message from client","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46","error":"read tcp 172.31.0.3:7350->10.10.29.1:61960: i/o timeout"} nakama | {"level":"info","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:433","msg":"Cleaning up closed client connection","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46"} nakama | {"level":"info","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:441","msg":"Cleaned up closed connection matchmaker","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46"} nakama | {"level":"info","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:445","msg":"Cleaned up closed connection tracker","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46"} nakama | {"level":"info","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:449","msg":"Cleaned up closed connection session registry","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46"} nakama | {"level":"info","ts":"2020-11-21T08:35:55.932Z","caller":"server/session_ws.go:466","msg":"Closed client connection","uid":"ea56071b-2f65-42bb-9927-42e1806c0111","sid":"83ce1ffd-2bd4-11eb-9ee9-7106fdcb5b46"} nakama | {"level":"debug","ts":"2020-11-21T08:35:55.933Z","caller":"server/tracker.go:672","msg":"Processing presence event","joins":0,"leaves":1} nakama | {"level":"info","ts":"2020-11-21T08:35:55.933Z","caller":"server/runtime_lua_nakama.go:1716","msg":"match leave","runtime":"lua"}