alvyxaz/barebones-masterserver

"Failed to confirm access token"

LaptopStore24 opened this issue · 3 comments

Hey I often get "Failed to confirm access token" but sometimes not! What is the problem?

I've figured out that it only happens in the standalone version of the master sever but not on the editor one.

Check the access token expiration time, by default is 20 seconds. If the time between request and load the scene is bigger than 20 seconds the token will expire and this message will be occur. You can change the Room Option "AccessTimeoutPeriod" to increase this. See: https://github.com/alvyxaz/barebones-masterserver/blob/master/MasterServerFramework2/Assets/Barebones/Msf/Scripts/Modules/Rooms/RegisteredRoom.cs#L99

@LaptopStore24 Did you ever figure this one out? Did Jasiel fix work for you?