spring / uberserver

uberserver, a matchmaking/chat lobby server for the spring rts project
https://springrts.com/wiki/Uberserver
Other
33 stars 38 forks source link

ace autohost connect/disconnect spam #356

Closed abma closed 4 years ago

abma commented 4 years ago

no clue why, cleanup finds / fixes something, but the autohosts still keep disconnecting/connecting

i've pm'ed FabriceFABS about this.

silentwings commented 4 years ago

re flags/etc, i haven't altered anything on the main lobbyserver yet

i did change some stuff on the dev lobbyserver

silentwings commented 4 years ago

@abma seems that you (or perhaps someone else) have git pulled on the main server already

unfortunately i was not done testing on the dev lobbyserver so it is possible that some issue resulted

i will try to find time to look at it later, but after https://github.com/spring/uberserver/commit/9808f3b4df72acdd78754a45d886702ef073d28e i'll need someone to explain how to restart a systemd service before i can do anything ... also the dev lobbyserver is unable to pull atm

FabriceFABS commented 4 years ago

Hey ! How are you ?

Seems my answer is too late, sorry... I don't know, in case of. Have a look about errors I had : (1., 2., 3.... = different errors on diff. autohosts)

1.
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid accountId parameter value "SpringLobby 0.268 (win x32TASServer 0.36 * 8201 0" (should be integer) in lobby command ADDUSER
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)

2.
WARNING  - [SpringLobbyInterface] Found invalid accountId parameter value "8201 0" (should be integer) in lobby command ADDUSER
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
NOTICE   - [SPADS] TrueSkill service available
WARNING  - [SPADS] Disconnected from lobby server (timeout)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid accountId parameter value "0.36 * 8201 0" (should be integer) in lobby command ADDUSER
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200

3.
ERROR    - [SpringLobbyInterface] Ignoring UPDATEBATTLEINFO command (unknown battle:"5")                                                                           
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)                                                                                    
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200                                                                                      
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200                                                                                           
NOTICE   - [SPADS] TrueSkill service available                                                                                                                     
WARNING  - [SPADS] Disconnected from lobby server (timeout)                                                                                                        
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200                                                                                      
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200                                                                                           
ERROR    - [SpringLobbyInterface] Ignoring BATTLEOPENED command (unknown founder:"Common_Server")                                                                  
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
NOTICE   - [SPADS] TrueSkill service available

4. 
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid rank parameter value "0TASServer" (should be integer) in lobby command BATTLEOPENED
WARNING  - [SpringLobbyInterface] Found invalid mapHash parameter value "0.36" (should be integer) in lobby command BATTLEOPENED
ERROR    - [SpringLobbyInterface] Ignoring BATTLEOPENED command (unknown founder:"[TAP]Autohost")
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
NOTICE   - [SPADS] TrueSkill service available

5.
ERROR    - [SPADS] Connection to lobby server failed
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid accountId parameter value "8201 0" (should be integer) in lobby command ADDUSER
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200

6.
WARNING  - [SPADS] Disconnected from lobby server (timeout)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
ERROR    - [SpringLobbyInterface] Ignoring BATTLEOPENED command (unknown founder:"EvoRTSDedicated1")
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200

7.
WARNING  - [SPADS] Disconnected from lobby server (timeout)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid port parameter value "*" (should be integer) in lobby command BATTLEOPENED
WARNING  - [SpringLobbyInterface] Found undefined rank parameter value (should be integer) in lobby command BATTLEOPENED
WARNING  - [SpringLobbyInterface] Found undefined mapHash parameter value (should be integer) in lobby command BATTLEOPENED
ERROR    - [SpringLobbyInterface] Ignoring BATTLEOPENED command (unknown founder:"[TTASServer")
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200

8.
WARNING  - [SPADS] Disconnected from lobby server (timeout)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SpringLobbyInterface] Found invalid accountId parameter value "8201 0" (should be integer) in lobby command ADDUSER
WARNING  - [SPADS] Disconnecting from lobby server (broken connection detected)
NOTICE   - [SpringLobbyInterface] Disconnecting from lobby.springrts.com:8200
NOTICE   - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
WARNING  - [SPADS] Disconnected from lobby server (timeout)

Is that what you expected to see ? Do you need more ?

See you, @++

silentwings commented 4 years ago

thanks, i now know the cause, but can't do anything until abma replies

@FabriceFABS, which spads version are you running? trying the latest dev may fix the error. i guess you must have done something already because the dc spam isn't currently happening

abma commented 4 years ago

@silentwings:

because of the disconnect/connect error i started to investigate and then i made it a systemd service + restarted uberserver.

sorry, forgot about restarting,

sudo /bin/systemctl status uberserver.service sudo /bin/systemctl start uberserver.service sudo /bin/systemctl stop uberserver.service sudo /bin/systemctl restart uberserver.service

should work now.

not sure which commit the current running instance is using, AFAIK it should be 5f90c40050dc8cd07ec4283516928a2f28858aeb.

in short: the error with ACE autohosts existed before uberserver was touched.

abma commented 4 years ago

sorry for the delay, was bad timing :-|

abma commented 4 years ago

also: only ACE servers had the connect/disconnect problem, so some to old / to new version very likely was used.

silentwings commented 4 years ago

ok, thanks, assuming an old spads version was the cause, please re-open if this was incorrect