barebones-masterserver icon indicating copy to clipboard operation
barebones-masterserver copied to clipboard

"Failed to confirm access token"

Open LaptopStore24 opened this issue 6 years ago • 3 comments

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

LaptopStore24 avatar Apr 16 '18 09:04 LaptopStore24

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

LaptopStore24 avatar Apr 16 '18 17:04 LaptopStore24

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

jasielmacedo avatar Aug 21 '18 21:08 jasielmacedo

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

Adz10kvtech avatar Jan 14 '20 23:01 Adz10kvtech