All players get disconnected
#1

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 
Reply
#2

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

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)
Reply
#4

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

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?
Reply
#6

Switch to CentOS 7 or Debian 8.

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

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

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.
Reply
#9

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

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.
Reply
#11

This occured to me on Ubuntu.
Reply
#12

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.
Reply
#13

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.
Reply
#14

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.
Reply
#15

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.
Reply
#16

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)