Problem connecting to PlayFab (SOLVED)

Hello,

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.

Do the users have something in common? Same OS maybe? Same location? Firewall? Corporate network? VPN?

“ServiceUnavailable (1123): Indicates that PlayFab may be having a temporary issue or the client is making too many API calls too quickly.”

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.

Which OS are you using? Can you share a minimal project where the problem can be reproduced?

I am using Android only. And yes. I will DM you one.

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.

2 Likes

Ah, I didn’t know that setting it to 0 meant to wait indefinitely. Thank you for that quick troubleshooting!