I have an issue where I can’t login to the server after a certain (unknown) amount of time.
Basically, when my (authenticated) client wants to connect to the server, I have an Azure function call that gets the list of servers, if any, and returns them to the client. If the server is active and already has a sessionID, I use the already existing sessionID in my requestMutltiplayerServerRequest to login to the active server. If there is no active server, then I call it with my own generated GUID. This works fine initially.
In testing, I’ll have one client login which causes the server to activate, then I’ll have the second client login using the existing sessionID. I can leave the server, and log back in with either client. However, after a certain amount of time, I start getting the error
“OnRequestMultiplayerError: /MultiplayerServer/RequestMultiplayerServer: MultiplayerServerTooManyRequests - NoHostsAvailableInRegion - No Hosts available in regions 'EastUs', please retry.” I get this message even though I have the active server sessionID.
Nothing has changed and I see nothing in my server logs. I initially thought it might be the server shutting down after I logout from a client, but I kept one client logged in and it remained logged in, even when I could not log in with my second client.
This seems to happen within 20 minutes of activating the server. I’m not sure of the exact time, what’s going on as I get no indication whatsoever that anything has changed. It is, however, consistent. The server even shows Running/Active on the web and as I mentioned, any clients remaining on the server do not get kicked.
The only thing that fixes it is if I bring the server down manually. Then the call from the client spins it up again and everything works for a bit.
The title is C8E30