TeleportService failing to put players in Reserved Server (Unknown error. Error Code 1)

For the last few days, on the staging build of our game Aftermath, players are unable to use our in-game serverlist to join servers. We use Roblox APIs to host a serverlist like you would see on steam games like Rust or DayZ. This is backed by TeleportService:ReserveServer()

At its core it works like this:

	local new_access_code, new_reserve_id
	local success, result = pcall(function()
		new_access_code, new_reserve_id = TeleportService:ReserveServer(MAIN_GAME_PLACE_ID)
	end)

And then:

TeleportService:TeleportToPrivateServer(MAIN_GAME_PLACE_ID, valid_server.AccessCode, actual_players)

In game log:

This code has been relatively unchanged for over a year, but suddenly we are unable to connect to our reserved servers. We now get “Unknown error. Error Code 1”

Interestingly enough, this error happens after we teleport to the server, not before. Sometimes game code starts running–I can hear ambient sounds from the game world playing in my speakers.

We need to know if this will affect our main game or not when we publish. We have been holding off our Halloween update because of this.

1 Like

Hey orange451,
It appears that the game’s RCC servers are running out of memory (OOM) and shutting down, causing the client to disconnect. Since this issue is happening in the staged version and not the current version, it could be worthwhile to look at recent changes to see if there is a memory leak.

Thanks!

1 Like