Hello, I have created some very basic Nakama client code, like login and create/join match.
Everything worked great for HTTP. But with the same code, and over HTTPS, I cannot pass anything into the function create_match_async() except for an empty string.
Godot v4.2.2.stable.official[15073afe3]
When I pass an empty string:
var createdMatch = await socket.create_match_async("")
I traced it back to why the socket is being closed immediately, and it seems to be coming from the NakamaSocketAdapter.gd, specifically line 57:
if _ws.get_ready_state() != WebSocketPeer.STATE_CLOSED:
_ws.poll()
Also note that anything that does not require me to pass a string, such as automatic matchmaking, works just fine over HTTPS.
Thank you for any help/direction.
Edit: I am not very knowledgeable in this, if your solution require that I add logging code, etc., kindly explain in detail.
Edit 2: I get this message in the server for empty string:
Hello, this was caused by Nakama v3.4.0, since I copied the docker-compose file from an old tutorial. Now Nakama v3.22.0 works perfectly fine on HTTPS!
Thank you!
Hello, I have created some very basic Nakama client code, like login and create/join match. Everything worked great for HTTP. But with the same code, and over HTTPS, I cannot pass anything into the function create_match_async() except for an empty string.
Godot v4.2.2.stable.official[15073afe3]
When I pass an empty string:
When I pass a non empty string (socket immediately closes):
I traced it back to why the socket is being closed immediately, and it seems to be coming from the NakamaSocketAdapter.gd, specifically line 57:
Also note that anything that does not require me to pass a string, such as automatic matchmaking, works just fine over HTTPS. Thank you for any help/direction.
Edit: I am not very knowledgeable in this, if your solution require that I add logging code, etc., kindly explain in detail.
Edit 2: I get this message in the server for empty string:
And this message for match named "test":