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:
[] Connected. Joining the game...
[] CONNECTION REJECTED: Unacceptable NickName
[] Please choose another nick between and 3-20 characters
[] Please use only a-z, A-Z, 0-9
[] 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_
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
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
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
|
which version of ubuntu is stable with samp-server?
Re: All players get disconnected -
Prolong - 03.03.2019
Quote:
Originally Posted by MRM
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
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
|
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
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
@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
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