Closed totebo closed 1 year ago
It turns out that this is the default error message when no connection can be made. When testing I incorrectly used 127.0.0.1 on both the Mac and the iPhone. This means the iPhone tried to connect to its own localhost, which of course doesn't work.
The solution to test locally is to find the actual local IP of the server and use that for external devices.
Oh, good to hear that you managed to figure it out!
Authenticating with Nakama returns this error when using
nakama.authenticate_device()
,nakama.authenticate_custom()
,nakama.authenticate_apple()
,nakama.authenticate_game_center()
andnakama.authenticate_email()
on iOS:This line (and probably some other logs): https://github.com/heroiclabs/nakama-defold/blob/master/nakama/engine/defold.lua#L67
Returns this:
Using
nakama.authenticate_device()
,nakama.authenticate_custom()
andnakama.authenticate_email()
works in the local Defold player on Mac.