SA-MP Forums Archive
All players get disconnected - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: All players get disconnected (/showthread.php?tid=663705)



All players get disconnected - MRM - 09.02.2019

Hello everyone!

Having a strange server problem here. The server randomly disconnects all players, including npcs, and players see a message "CONNECTION REJECTED: Unacceptable NickName "

When it happens, all connectivity on the server goes down for about 10-20 seconds, and it happens at any time. Using a network monitor, there is a little packet loss when it happens, and sometimes the samp-console displays lots of Packet was modified messages from a random player.

At first we thought it was a server problem, but we moved to a new VPS and the problem still happens. Does anyone know what could cause this?

PHP Code:
[] ConnectedJoining the game... 
[] 
CONNECTION REJECTEDUnacceptable NickName 
[] Please choose another nick between and 3-20 characters 
[] Please use only a-zA-Z0-
[] Use /quit to exit or press ESC and select Quit Game 



Re: All players get disconnected - Logic_ - 09.02.2019

List your server plugins, your OS version, are you using MySQL or SKY plugin?


Re: All players get disconnected - MRM - 09.02.2019

Quote:
Originally Posted by Logic_
View Post
List your server plugins, your OS version, are you using MySQL or SKY plugin?
plugins crashdetect.so streamer.so sscanf.so mysql.so whirlpool.so pawn-memory.so profiler.so

I use Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64)


Re: All players get disconnected - MRM - 10.02.2019

This bug kick 100 player from server for 12 sec .I checked my gm twice but I did not see any problem.


Re: All players get disconnected - d3Pedro - 10.02.2019

Quote:
Originally Posted by MRM
View Post
This bug kick 100 player from server for 12 sec .I checked my gm twice but I did not see any problem.
Have you checked your includes/filterscripts? That literary happens when a user has a messed up name or with more than defined MAX_PLAYER_NAME characters in their name.
What's in OnPlayerConnect/RequestClass callback?


Re: All players get disconnected - MustangV10 - 10.02.2019

Switch to CentOS 7 or Debian 8.

https://sampforum.blast.hk/showthread.php?tid=647814


Re: All players get disconnected - CantBeJohn - 11.02.2019

I had a similar issue with Ubuntu and switching to Debian Jessie made it completely vanish.


Re: All players get disconnected - MRM - 20.02.2019

Quote:
Originally Posted by ConnorW
View Post
Have you checked your includes/filterscripts? That literary happens when a user has a messed up name or with more than defined MAX_PLAYER_NAME characters in their name.
What's in OnPlayerConnect/RequestClass callback?
I check all FS and GM but everything is allright.


Re: All players get disconnected - MRM - 20.02.2019

Quote:
Originally Posted by MustangV10
View Post
which version of ubuntu is stable with samp-server?


Re: All players get disconnected - Prolong - 03.03.2019

Quote:
Originally Posted by MRM
View Post
which version of ubuntu is stable with samp-server?
Ubuntu 14 and 16 tend to have issues with SAMP. If you go any older (Ubuntu 12), then you're outdated and no longer supported for anything, security or otherwise. Debian 8 is similar to Ubuntu but the LTS support/updates will only continue for one more year. Debian 9 has the same issues.

Reference #1
https://sampforum.blast.hk/showthread.php?tid=663272

Reference #2
https://sampforum.blast.hk/showthread.php?tid=362065&page=2

CentOS isn't really difficult, I'd recommend switching over.


Re: All players get disconnected - cuber - 10.03.2019

This occured to me on Ubuntu.


Re: All players get disconnected - Prolong - 10.03.2019

Quote:
Originally Posted by mahdi1125
View Post
i have this issue on ubuntu 16.04 please help
You literally didn't even bother to read the thread.

Quote:
Originally Posted by Prolong
View Post
Ubuntu 14 and 16 tend to have issues with SAMP. If you go any older (Ubuntu 12), then you're outdated and no longer supported for anything, security or otherwise. Debian 8 is similar to Ubuntu but the LTS support/updates will only continue for one more year. Debian 9 has the same issues.

Reference #1
https://sampforum.blast.hk/showthread.php?tid=663272

Reference #2
https://sampforum.blast.hk/showthread.php?tid=362065&page=2

CentOS isn't really difficult, I'd recommend switching over.



Re: All players get disconnected - kristo - 10.03.2019

I can confirm that what Prolong said is true. Ubuntu 14.04 was fine for me, 16.04 had this issue. Debian 8 is also fine whereas Debian 9 isn't. My host figured out that it is a kernel issue related to the UDP stack. As far as I know, it's fixed in Ubuntu 18.04, not sure about newer Debian versions.


Re: All players get disconnected - kristo - 10.03.2019

Quote:
Originally Posted by mahdi1125
View Post
Centos 6 or 7 ?
Don't use CentOS at all unless you have suicide hotline on speed dial.


Re: All players get disconnected - cuber - 10.03.2019

Quote:
Originally Posted by mahdi1125
View Post
@cuber
What operating system you are using now ?currently having trouble with?
I switched to CentOS afterwards. Not running it anymore.


Re: All players get disconnected - Tanz - 15.03.2019

Quote:
Originally Posted by cuber
View Post
I switched to CentOS afterwards. Not running it anymore.
Did you try any other distros? I am having the same issue with a server from OVH. Ubuntu 14 works fine, 16 is trash. Debian 8 works fine, 9 is trash.

CentOS 7 works