Game Randomly Kicking Users

Good Evening/Morning Developers,

I am helping out a fellow developer with an issue that their game is experiencing. The players of the game are being kicked randomly for no apparent reason (Code 277).

  1. What do you want to achieve?

Avoid kicking players from the game server.

  1. What is the issue? Include enough details if possible!

I believe that the server memory increasing may be the issue.

However, I have tried to diagnose the issue myself and it seems that there is no issue.

The ping does not rise, the server memory increases (which I believe may be expected), there is no malicious scripts or back doors.

  1. What solutions have you thought of so far?

I have tried enabling the Streaming Service, Checking the logs (The log is listed below), and Scanning for malicious scripts.

Here is the log (from Roblox Studio):

2021-02-04T04:37:52.475Z,11568.475656,602c,6 [FLog::Output] TeamCreateDisconnectInfo::setReason: Connection Closed: Failed | Connection attempt failed.
2021-02-04T04:37:52.475Z,11568.475656,0e50,6 [FLog::Output] RobloxMainWindow::notifyCloudEditConnectionClosed
2021-02-04T04:37:52.963Z,11568.963571,0e50,6 [FLog::Output] RobloxIDEDoc::cleanupPriorToDeleteLater 00000276904524A0 - start
2021-02-04T04:37:52.964Z,11568.964568,0e50,6 [FLog::UpdateUIManager] Start waiting for long process(000002763C928830): Saving scripts...
2021-02-04T04:37:52.976Z,11568.976522,0e50,6 [FLog::UpdateUIManager] Done waiting for long process: Saving scripts...
2021-02-04T04:37:52.982Z,11568.982500,0e50,7 [FLog::Network] Client:Disconnect
2021-02-04T04:37:53.013Z,11569.013383,0e50,7 [FLog::Network] Client:Disconnect
2021-02-04T04:37:53.032Z,11569.032312,0e50,7 [FLog::Network] NetworkClient:Remove
2021-02-04T04:37:53.033Z,11569.033308,0e50,6 [FLog::Output] Info: 			BindToWorkspace
2021-02-04T04:37:53.057Z,11569.057670,0e50,6 [FLog::Output] Info: 			ConfigureStats
2021-02-04T04:37:53.057Z,11569.057670,0e50,6 [FLog::Output] Info: 			RenderJobCyclic
2021-02-04T04:37:53.058Z,11569.058671,0e50,6 [FLog::Output] RobloxIDEDoc::cleanupPriorToDeleteLater 00000276904524A0 - end
2021-02-04T04:37:53.058Z,11569.058671,0e50,6 [FLog::Output] RobloxMainWindow::requestDocClose doc.docType=0
2021-02-04T04:37:53.058Z,11569.058671,0e50,6 [FLog::Output] RobloxMainWindow::forceDocClose doc.docType()=0
2021-02-04T04:37:53.058Z,11569.058671,0e50,6 [FLog::Output] RobloxDocManager::removeDoc type 0
2021-02-04T04:37:53.058Z,11569.058671,0e50,6 [FLog::Output] RobloxBasicDoc::closeDocument 00000276904524A0
2021-02-04T04:37:53.101Z,11569.101689,0e50,6 [FLog::Output] Info: RobloxMainWindow::closeEvent
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: gridSizeToFourAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] duplicateSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: duplicateSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] Game Explorer: Created named image (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: advArrowToolAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: gridSizeToFourAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] clearSelectionAction: Shortcut (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: clearSelectionAction (0)
2021-02-04T04:37:53.105Z,11569.105691,0e50,8 [FLog::StudioDebugLog] StudioUserAction: gridSizeToFourAction (0)
2021-02-04T04:37:53.115Z,11569.115695,0e50,6 [FLog::Error] Error: 	 [Exception: Unable to open the place. Please restart your application and try again. If you continue to encounter this error, please contact customer service.

Request Status Code: 2

Connection Result: 0

Connection Closed: Failed | Connection attempt failed.]
2021-02-04T04:37:53.153Z,11569.153698,0e50,6 [FLog::Error] Error: Unable to open the place. Please restart your application and try again. If you continue to encounter this error, please contact customer service.

Request Status Code: 2

Connection Result: 0

Connection Closed: Failed | Connection attempt failed.

Any Ideas of what to try?

4 Likes

Check if your game has a backdoor script somewhere. It might be randomly kicking the players or intentionally lagging the game.

Try searching “Script” in explorer and check for all scripts.If there is a script that you didn’t create check it and delete it.

I’ve tried that already. Must be something else.

This kick happens to me sometimes. When im starting lag at PTFS (Pilot Training Flight Simulator) then Roblox kicks me and sends a error.

Go into the find results menu and type genfenv and search it, if there are any instances delete them, do the same with setfenv. Then go through the plugins they might be injecting that malicious code into your scripts.