Issue information

Issue ID
#533
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Dec 2, 2007 9:20
Last Post
Hercules Elf Bot
Dec 2, 2007 9:20
Confirmation
N/A

Hercules Elf Bot - Dec 2, 2007 9:20

Originally posted by [b]Ai4rei[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=533

The CharServer disconnects after a random amount of time from the LoginServer. Restarting der LoginServer will 'fix' that for 20minutes-2hours until next disconnect. Both are on same machine, compiled with VC2005.

CharServer:
CODE
[Warning]: Connection to login-server lost (connection #1520).
[Info]: Saved char 161255 - xxxx: status.
[Info]: Saved char 154703 - xxxx xxxx: status.
[Info]: Saved char 161240 - xxxxxx xxxx: inventory status.
[Info]: Attempt to connect to login-server...
[Status]: Connecting to x.x.x.x:xxxx
[Error]: Can not connect to login-server.
[Error]: The server communication passwords (default s1/p1) are probably invalid.
[Error]: Also, please make sure your login db has the correct communication username/passwords and the gender of the account is S.
[Error]: The communication passwords are set in map_athena.conf and char_athena.conf
[Info]: Pet saved 1832 - xxxxxxx xxxxx.
[Info]: Saved char 150113 - xxxxxxxxxxxx: inventory.
[Info]: Saved guild (1 - xxxxxx xxxx): connect members
[Warning]: Connection to login-server lost (connection #1524).
[Info]: Attempt to connect to login-server...
[Status]: Connecting to x.x.x.x:xxxx
[Error]: Can not connect to login-server.
[Error]: The server communication passwords (default s1/p1) are probably invalid.
[Error]: Also, please make sure your login db has the correct communication username/passwords and the gender of the account is S.
[Error]: The communication passwords are set in map_athena.conf and char_athena.conf
[Info]: Saved char 161255 - Edge: inventory status.
[Warning]: Connection to login-server lost (connection #1520).
[Info]: Attempt to connect to login-server...
[Status]: Connecting to x.x.x.x:xxxx
[Error]: Can not connect to login-server.
[Error]: The server communication passwords (default s1/p1) are probably invalid.
[Error]: Also, please make sure your login db has the correct communication username/passwords and the gender of the account is S.
[Error]: The communication passwords are set in map_athena.conf and char_athena.conf
[Info]: Saved char 161240 - xxxxxx xxxx: status.
[Info]: Pet saved 1832 - xxxxxxx xxxxx.
[Warning]: Connection to login-server lost (connection #1524).
[Info]: Attempt to connect to login-server...
[Status]: Connecting to x.x.x.x:xxxx
[Error]: connect failed (socket 1520, code 10061)!  // <-- Here the login server gets restarted manually.
[Info]: Attempt to connect to login-server...
[Status]: Connecting to x.x.x.x:xxxx
[Status]: Connected to login-server (connection #1524).
[Status]: From login-server: receiving information of 17 GM accounts.


LoginServer:
CODE
[Status]: set users KiOnline : 14
[Info]: Session #1512 timed out
[Status]: Char-server 'KiOnline' has disconnected.
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Info]: Connection request of the char-server 'KiOnline' @ x.x.x.x:xxxx (account: 'xxxxxxxxx', pass: 'xxxxxxxxxxxxxxxxxxxxxxx', ip: 'x.x.x.x')
[Notice]: Connection of the char-server 'KiOnline' REFUSED.
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Notice]: Abnormal end of connection (ip: x.x.x.x): Unknown packet 0x272c
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Info]: Connection request of the char-server 'KiOnline' @ x.x.x.x:xxxx (account: 'xxxxxxxxx', pass: 'xxxxxxxxxxxxxxxxxxxxxxx', ip: 'x.x.x.x')
[Notice]: Connection of the char-server 'KiOnline' REFUSED.
[Notice]: Abnormal end of connection (ip: x.x.x.x): Unknown packet 0x2714
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Info]: Connection request of the char-server 'KiOnline' @ x.x.x.x:xxxx (account: 'xxxxxxxxx', pass: 'xxxxxxxxxxxxxxxxxxxxxxx', ip: 'x.x.x.x')
[Notice]: Connection of the char-server 'KiOnline' REFUSED.
[Notice]: Abnormal end of connection (ip: x.x.x.x): Unknown packet 0x2714
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).
[Info]: Connection request of the char-server 'KiOnline' @ x.x.x.x:xxxx (account: 'xxxxxxxxx', pass: 'xxxxxxxxxxxxxxxxxxxxxxx', ip: 'x.x.x.x')
[Notice]: Connection of the char-server 'KiOnline' REFUSED.
[Notice]: Abnormal end of connection (ip: x.x.x.x): Unknown packet 0x2714
[Info]: Connection request of the char-server 'KiOnline' @ x.x.x.x:xxxx (account: 'xxxxxxxxx', pass: 'xxxxxxxxxxxxxxxxxxxxxxx', ip: 'x.x.x.x')
[Notice]: Connection of the char-server 'KiOnline' REFUSED.
[Status]: Connection refused: there is no char-server online (account: xxxxxxxxxx, ip: y.y.y.y).


Side notes:
- x.x.x.x represents the server ip.
- y.y.y.y represents the ip of anyone else.
- Any other xx represents inaccurate length of the actual data.
- The server Username/Password is set on all servers, as well in the database. The server starts without any error.

EDIT:
Can be reproduced by simply killing the connection between Login and Char Server (with TCPView or such).

This post has been edited by Ai4rei: Dec 2 2007, 01:27 AM