All players get disconnected - Server restarting
#1

I ran a Linux 0.3.7-R2 Server and everythings fine but,

Every 10-15 minutes everyone gets disconnected...
and message "SERVER IS RESTARTING" and sometimes "YOU'RE BANNED FROM THIS SERVER" comes up...

What could cause such thing?
Reply
#2

Bad connection to the server and when it's restarting showing you're banned is a common client bug, just restart the client and your unbanned if not its the script.
Reply
#3

I'm pretty sure its due to the script. Cause that might be the reason for the specific time restart.
Reply
#4

Spydah does have a point though. If a connection is flaky and losing packets it will drop a player, and they'll have a ban message turn up if they get dirty data.


Does the server actually restart?

Can you reconnect if you close and reopen SAMP?

and what's the server.log saying about this?
Reply
#5

Quote:
Originally Posted by Sew_Sumi
View Post
Spydah does have a point though. If a connection is flaky and losing packets it will drop a player, and they'll have a ban message turn up if they get dirty data.


Does the server actually restart?

Can you reconnect if you close and reopen SAMP?

and what's the server.log saying about this?
There were some warnings in server log,
Dropping packet client or something like that...

If players reconnects, they can play again...

Also, I don't think it's the script, cuz server works perfectly in localhost.
Reply
#6

Should gradually increase the players. See that it isn't a problem once X players get on.
Reply
#7

Ok, I've made changes to server, I've tried 2 players and it works perfectly fine,
But, one of my friends who wants to test for me can't connect to my server...
Connected once then this is server log:


Code:
[20:00:39] [connection] X.XX.251.242:37731 requests connection cookie.
[20:00:40] [connection] incoming connection: X.XX.251.242:37731 id: 0
[20:00:41] [join] AmerZompire has joined the server (0:X.XX.251.242)
[20:00:51] [death] AmerZompire died 255
[20:01:56] [part] AmerZompire has left the server (0:0)
[20:02:06] [connection] incoming connection: X.XX.251.242:40483 id: 0
[20:02:06] [connection] incoming connection: X.XX.251.242:44114 id: 1
[20:02:06] [warning] dropping a split packet from client
After that player couldn't join at all, even after server restart, retrieving info problem...
But I could join easily and serverchecker could find my server too...


Is it my server or him?
Why am I getting these warnings?
Reply
#8

Did it (This whole threads issues) start after you did a major change? and can you possibly go back a few versions (In your script not the server) to verify it being stable?


What have you done for the networking side for your server too, the error could be related to a firewall/router config issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)