question

developer-1 avatar image
developer-1 asked

Connection Problems

In our product we have been having challenges where the player has a perfectly fine WIFI connect but PlayFab fails to connect/times out (according to our debug log) - is this a common issue? Is there a best practices for how many times you should attempt to reconnect before a time out? This happens when trying to pull game values from PlayFab or when the player is awarded an inventory item or currency.

Player DataCustom Game ServersPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

A wifi connection actually doesn't mean that the device in question can talk to any site on the internet - just that the router device it's connecting to works. We have no ability to control the client's ability to talk to our service, as that's down to their internet connection. Where are your players that are seeing this issue, in general? If they're in China, you may want to consider using an edge service to route calls, in the short term.

If you believe there's an issue on the PlayFab side, can you please get a Fiddler or Wireshark capture, so that we can review?

In terms of best practices on retries, yes, you should use an exponential backoff (so, wait a second, then 2, 8, 30, and cap it around 2 minutes).

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

developer-1 avatar image developer-1 commented ·

Thanks Brendan - appreciate the response and insight.

0 Likes 0 ·
Cruiser dev team avatar image Cruiser dev team commented ·

Hi! I have a similar question: out Philippines users sometimes see "Cannot connect to destination host" or DNS issues with PlayFab. Could you please elaborate what are these edge services to mitigate that? We're free tier as of now and it was a soft launch location.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.