SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 27/08/2019, 12:31 AM   #1
noSmoke
Little Clucker
 
Join Date: Aug 2019
Posts: 3
Reputation: 0
Default All clients looses connection

Hello everyone, thanks for the further help.
We are working currenlty on new mod, 0.3DL version with MySQL, mod compiles even without warning, nothing pops up in the server log, but still all clients, at the same time randomly loosing connection to the server, and after few moments they are returned to the login screen.
This happens randomly in intervals, which means it can happen after 1 minute from the start or 1 hour more or less.
It also occures when there is noone on the server and when I am on login screen.
We have tried multiple hostings, even using our own servers hosted on our dedicated rack.
I dont know if there is point of uploading server_log.txt/server.cfg because we use default cfg for the server which comes by default (only added plugins streamer.so sscanf.so ColAndreas.so mysql_static.so Whirlpool.so), and server_log does not show anything related to this problem just this

Code:
[02:17:59] [connection] incoming connection: 89.111.xx.xx:49660 id: 0
[02:18:51] [connection] incoming connection: 89.111.xx.xx:57322 id: 0
[02:18:52] [join] noSmoke has joined the server (0:89.111.xx.xx)
[02:19:07] [connection] incoming connection: 89.111.xx.xx:57824 id: 1
[02:19:17] [part] noSmoke has left the server (0:0)
[02:19:40] [connection] incoming connection: 89.111.xx.xx:53699 id: 0
[02:19:40] [join] noSmoke has joined the server (0:89.111.xx.xx)
[02:21:07] [part] noSmoke has left the server (0:0)
NOTE: I just placed xx.xx to the original IP due to privacy.
NOTE 2: We have tested with 3 players online, everyone got connection lost in the same time.
NOTE 3: All testers use different internet service provider, different cities, which means it cannot be due to ISP.
NOTE 4: I do not have problem while I am testing on local server (Windows 10).
NOTE 5: We have used multiple solutions regarding to SAMP server and SQL server.
* Both on same dedicated server
* SAMP on our dedicated server, SQL on remote server
* SAMP on remote server, SQL on our server
* Both on remote server, even external hosting company.

To sum up, is there anychance that the problem may be in:
*0.3DL Server version for Linux
*MySQL connection
*Server configuration
*Something else
We have few members working on this project including Linux/Windows administrators, scripters and designers.
But yet it is hard to fix the problem since there is no particular information what the problem is in anykind of logs.

If you need any additional informations you may ask for it in this topic.
noSmoke is offline   Reply With Quote
Old 27/08/2019, 06:47 AM   #2
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,065
Reputation: 50
Default Re: All clients looses connection

So you only tested it in your local computer (win 10) and that vps?
problem could be in your VPS configuration or it's connections, check in another vps/server or test-hosting.
check your VPS's network when connection is lost, check if network connection is active or not.
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 27/08/2019, 11:31 AM   #3
noSmoke
Little Clucker
 
Join Date: Aug 2019
Posts: 3
Reputation: 0
Default Re: All clients looses connection

Quote:
Originally Posted by noSmoke View Post
We have tried multiple hostings, even using our own servers hosted on our dedicated rack.
We tested on our dedicated server located in Hetzner, tested on dedicated server located in Serbia,
tested on game-server bought on random game-hosting located in France. And on all servers we experiance same issue.
On local server everything work just fine.
Quote:
Originally Posted by noSmoke View Post
NOTE 2: We have tested with 3 players online, everyone got connection lost in the same time.
NOTE 3: All testers use different internet service provider, different cities, which means it cannot be due to ISP.
Client ISP is not the problem since every of 3 client looses connection at the same time.
noSmoke is offline   Reply With Quote
Old 27/08/2019, 12:17 PM   #4
4D1L
Big Clucker
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 63
Reputation: 20
Default Re: All clients looses connection

What linux distribution are you using?
4D1L is offline   Reply With Quote
Old 29/08/2019, 03:31 AM   #5
noSmoke
Little Clucker
 
Join Date: Aug 2019
Posts: 3
Reputation: 0
Default Re: All clients looses connection

We tried on Debian 8,9 and 10 x64 all
noSmoke is offline   Reply With Quote
Old 30/08/2019, 12:42 PM   #6
4D1L
Big Clucker
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 63
Reputation: 20
Default Re: All clients looses connection

Quote:
Originally Posted by noSmoke View Post
We tried on Debian 8,9 and 10 x64 all
Try running Grand Larceny with no plugins so you can tell if your issue is related to the plugins you use or your linux distribution.
4D1L is offline   Reply With Quote
Old 30/08/2019, 04:28 PM   #7
wups
High-roller
 
wups's Avatar
 
Join Date: Apr 2010
Posts: 1,217
Reputation: 141
Default Re: All clients looses connection

Having the same issue. A chunk of players lose connection and then immediately reconnect. Using debian 9 x64, server 0.3.7 R2

The players get disconnect reason 0. They do not get any lag before disconnecting, it's just an immediate termination for them. Another interesting thing is that they disconnect in increasing order of their ID, i.e. ID 0 gets disconnected first, then ID 4, then 10 and so on. Note that only some players experience this.

Last edited by wups; 30/08/2019 at 05:45 PM.
wups is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are there 3 clients of SA-MP? T0Play General 3 07/01/2019 12:09 AM
Player looses weapons Sc0pion Scripting Help 17 29/06/2015 06:19 AM
Custom clients h4Xz0R Client Support 0 09/02/2014 04:36 PM
Crashes clients Dima_Tkach Client Support 2 04/07/2012 09:26 PM
Crashes clients Dima_Tkach Scripting Help 0 03/07/2012 11:20 PM


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.