[FIXED][URGENT] Server don't startup anymore (Error: invalid language)

Moderator: NADEO

kremsy
Posts: 1723
Joined: 21 Jul 2011, 09:51

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by kremsy » 12 May 2017, 13:31

Over which TCP Port is the dedicated connecting to the Masterserver?
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

david
Nadeo
Nadeo
Posts: 105
Joined: 14 Jun 2010, 17:59

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by david » 12 May 2017, 13:53

on 80 and 443

Bueddl
Posts: 165
Joined: 27 Jun 2010, 11:39

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by Bueddl » 12 May 2017, 14:23

kremsy wrote:
10 May 2017, 08:07
[2017/05/10 09:06:55] Starting ManiaPlanet Date=2017-05-09_12_00 Svn=74561 GameVersion=3.3.0...
[2017/05/10 09:06:55] Configuration file : dedicated_cfg1.txt
[2017/05/10 09:06:55] Loading system configuration...
[2017/05/10 09:06:55] ...system configuration loaded
[2017/05/10 09:06:55] Loading cache...
[2017/05/10 09:06:55] ...OK
[2017/05/10 09:06:55] Loading dedicated server configuration...
[2017/05/10 09:06:55] ...Dedicated server configuration loaded
[2017/05/10 09:06:56] Connecting to master server...
[2017/05/10 09:06:56] ...master server error: (6) invalid language
[2017/05/10 09:06:57] ...ERROR: invalid language
[2017/05/10 09:06:57] Identifying on master server...
[2017/05/10 09:06:57] ...master server error: (6) invalid language
[2017/05/10 09:06:57] ...ERROR: invalid language
[2017/05/10 09:06:57] ERROR: Connection to master server lost. Exiting...
[2017/05/10 09:06:58] Exiting...
I just had a look at it with kremsy and it seems the dedicated struggels to connect to the init server (init.maniaplanet.com). See strace dump:

Code: Select all

connect(1, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
sendto(1, "}\272\1\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 42, MSG_NOSIGNAL, NULL, 0) = 42
open("/etc/hosts", O_RDONLY)            = 2
fstat(2, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85d20fa000
read(2, "# Do not remove the following li"..., 4096) = 508
read(2, "", 4096)                       = 0
close(2)                                = 0
munmap(0x7f85d20fa000, 4096)            = 0
sendto(1, "n\274\1\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 42, MSG_NOSIGNAL, NULL, 0) = 42
poll([{fd=1, events=POLLIN|POLLRDNORM}], 1, 0) = 1 ([{fd=1, revents=POLLIN|POLLRDNORM}])
recvfrom(1, "}\272\201\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 42
sendto(1, "\373u\1\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 50, MSG_NOSIGNAL, NULL, 0) = 50
recvfrom(1, "n\274\201\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 42
sendto(1, ":\324\1\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 50, MSG_NOSIGNAL, NULL, 0) = 50
recvfrom(1, "\373u\201\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 50
recvfrom(1, ":\324\201\0\0\1\0\0\0\0\0\0\4init\3v04\vmaniaplane"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 50
close(1)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f85d1cd0890}, NULL, 8) = 0
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40360, 0x7fffeef4027c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP}, {fd=7, events=POLLIN|POLLERR|POLLHUP}, {fd=8, events=POLLIN|POLLERR|POLLHUP}], 3, 245) = 0 (Timeout)
accept(7, 0x7fffeef40390, [16])         = -1 EAGAIN (Resource temporarily unavailable)
accept(8, 0x7fffeef40390, [16])         = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40340, 0x7fffeef4025c) = -1 EAGAIN (Resource temporarily unavailable)
write(1, "...master server error: (6) inva"..., 46) = -1 EBADF (Bad file descriptor)
write(3, "[2017/05/12 15:15:12] ", 22)  = 22
write(3, "...master server error: (6) inva"..., 46) = 46
fsync(3)                                = 0
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP}, {fd=7, events=POLLIN|POLLERR|POLLHUP}, {fd=8, events=POLLIN|POLLERR|POLLHUP}], 3, 0) = 0 (Timeout)
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40320, 0x7fffeef4023c) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 3000000}, 0x7fffeef40500) = 0
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP}, {fd=7, events=POLLIN|POLLERR|POLLHUP}, {fd=8, events=POLLIN|POLLERR|POLLHUP}], 3, 0) = 0 (Timeout)
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40360, 0x7fffeef4027c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP}, {fd=7, events=POLLIN|POLLERR|POLLHUP}, {fd=8, events=POLLIN|POLLERR|POLLHUP}], 3, 246) = 0 (Timeout)
accept(7, 0x7fffeef40390, [16])         = -1 EAGAIN (Resource temporarily unavailable)
accept(8, 0x7fffeef40390, [16])         = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40340, 0x7fffeef4025c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP}, {fd=7, events=POLLIN|POLLERR|POLLHUP}, {fd=8, events=POLLIN|POLLERR|POLLHUP}], 3, 0) = 0 (Timeout)
recvfrom(6, 0x2880640, 1400, 0, 0x7fffeef40320, 0x7fffeef4023c) = -1 EAGAIN (Resource temporarily unavailable)
write(1, "...ERROR: invalid language\r\n", 28) = -1 EBADF (Bad file descriptor)
write(3, "[2017/05/12 15:15:12] ", 22)  = 22
write(3, "...ERROR: invalid language\r\n", 28) = 28
fsync(3)                                = 0
open("/dev/urandom", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 1
fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
ioctl(1, RNDGETENTCNT, 0x7fffeef3ec58)  = 0
read(1, "\17\330\204\f\300-\20\30 \t'\27\223\330\354\245\262j\2401\37\267\314\f\317fp\"\251\262Rl"..., 40) = 40
close(1)                                = 0
mmap(NULL, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85d20fa000
mmap(NULL, 1088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f85d20f9000
write(1, "Identifying on master server...\r"..., 33) = -1 EBADF (Bad file descriptor)
write(3, "[2017/05/12 15:15:12] ", 22)  = 22
write(3, "Identifying on master server...\r"..., 33) = 33
It's a small part of it of course but right before establishing the connection to the init server. You can see the lookup of the dns name (and the connection to loopback dns which does not succeed.

EDIT: It seems to be a dns problem at their root server. So it works again without problems :thumbsup:
The dedicated attempted to fetch the information from a loopback dns server. However, the dns server didn't had recursion enabled and had nothing to answer (and indeed did so with an empty RR set). Additionally the /etc/recolv.conf included the "nameserver 127.0.0.1" statement which led the gameserver to query from the loopback dns...
Disabeling the statement resolved the issue. :D

@Nadeo maybe you should handle this error more carefully :)

Sebastian
http://www.tmserver.org | Mania Exchange
═╦═╔╦╗² | MP4 Beta

david
Nadeo
Nadeo
Posts: 105
Joined: 14 Jun 2010, 17:59

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by david » 12 May 2017, 14:45

Nice! :yes:

Ok I will check why the dedicated server logs an 'invalid language' error for a dns issue :roll:

Bueddl
Posts: 165
Joined: 27 Jun 2010, 11:39

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by Bueddl » 12 May 2017, 14:47

david wrote:
12 May 2017, 14:45
Nice! :yes:

Ok I will check why the dedicated server logs an 'invalid language' error for a dns issue :roll:
Tbh from the side of the syscalls the dedicated didn't check at all for an unsuccessful dns response. :P :thx:
http://www.tmserver.org | Mania Exchange
═╦═╔╦╗² | MP4 Beta

kremsy
Posts: 1723
Joined: 21 Jul 2011, 09:51

Re: [URGENT] Server don't startup anymore (Error: invalid language)

Post by kremsy » 13 May 2017, 09:50

Thanks a lot david for investigating the Problem, was weired that at the end it seemed to be a problem with our Local DNS resolver or whatever where it still worked 2 days before and we did not change anything, sorry that I did not see that earlier :). But anyways a better Error Message would be cool :thumbsup:
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 0 guests