Some of my users are having problems connecting to PlayFab, so they are not able to log in to their account and get their previously saved data.
I was able to reproduce this through another call (not login, but ranking). It only happens to me --sometimes–, but to some users, it happens all the time.
This is the error log:
HTTP request to ‘https://—.playfabapi.com/Client/GetLeaderboardAroundPlayer?sdk=DefoldSdk_0.74.200402’ failed (http result: -1 socket result: -3)
And this is the error I get from PlayFab:
{ --[[0x69710990]]
error = "ServiceUnavailable",
errorCode = 1123,
code = 0,
status = 0,
errorMessage = "Could not deserialize reseponse from server: "
}
I am on Defold version 1.2.167 and using the latest PlayFab extension.
Thank you for the response! I will ask those questions to the people who have the problem.
I just checked their service status there doesn’t seem to be a hiccup from their side. About making too many API calls too quickly, only one API call is being made.
The problem was the short HTTP Timeout set in the Network section of game.project. Increasing the value or setting it to 0 (wait indefinitely) solved the problem.