question

Viachaslau avatar image
Viachaslau asked

Why after some time users statr getting response "MultiplayerServerTooManyRequests - NoHostsAvailableInRegion" ?

Hello.

I have uploaded my build successfuly. First user use a generated session_id to connect to server. After that he can successfully connect to the server. Other users use same session_id to connect to server. They can successfully connect to server too. Playfab shows correct number of users all the time. But after an hour or kinda more users cannot connect to the server, they got an failed response to RequestMultiplayerServer: MultiplayerServerTooManyRequests - NoHostsAvailableInRegion. Why? Didn't they garantee that this server session is set up for them?

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

·
Seth Du avatar image
Seth Du answered

This simply indicates that there is no standby server in this region. This can be caused by VM quota, "Server per machine", standby server, max server value.

RequestMultiplayerServer API will request for a new instance and ask PlayFab to turn a Standby server to Active. This error will occur when there is 0 standby server.

To avoid this error, you can increase standby server, maximum server, increase the value of Server Per Machine (in server build configuration page) or increase VM quota. Otherwise, you need to shut down the running instance to release the resource.

Please note that Stand-by server will consume the free quota of 750 core hours. Remember to set 0 when test is done.

10 |1200

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

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.