Page 1 of 2

404 Error while starting

Posted: 02 Feb 2019, 18:17
by firefish
Hi,

When trying to set up a new server with the server version of 28.01.2019 (installed through apt debian repository), a 404 error occurs. What could be the reason? If the server is started with the parameter /lan it works.

Code: Select all

ManiaPlanetServer /nodaemon /dedicated_cfg=dedicated_cfg.beginner.txt /game_settings=MatchSettings/matchsettings_beginner.txt
Starting ManiaPlanet Date=2019-01-28_22_00 Svn=89241 GameVersion=3.3.0...
Configuration file : dedicated_cfg.beginner.txt
Loading system configuration...
...system configuration loaded
Loading cache...
...OK
Loading dedicated server configuration...
...Dedicated server configuration loaded
Connecting to master server...
...master server error: (404) Cannot connect to the server (404)
...ERROR: Cannot connect to the server (404)
Identifying on master server...
...master server error: (404) Cannot connect to the server (404)
...ERROR: Cannot connect to the server (404)
ERROR: Connection to master server lost. Exiting...
Exiting...
Thank you!

Re: 404 Error while starting

Posted: 02 Feb 2019, 21:18
by Miss
Are outbound connections blocked by your firewall for some reason?

Re: 404 Error while starting

Posted: 02 Feb 2019, 21:32
by firefish
No, all ports are open and all outgoing connections are allowed, as well as the required input ports 2350/3450, both TCP and UDP

Re: 404 Error while starting

Posted: 04 Feb 2019, 20:03
by firefish
Anyone here? :)

Re: 404 Error while starting

Posted: 04 Feb 2019, 20:45
by TMarc
and what about the firewall of your router? It must also allow the same ports and redirect them ("port fowarding") to your PC.

That it is working with /lan only tells that the server itself is basically running, but only on your PC for local network.

Was it working before?

Re: 404 Error while starting

Posted: 05 Feb 2019, 08:51
by firefish
Thanks for your answer. The server is a hosted vroot, so there is no home router with shared ports. What addresses does the server try to contact? I can check the availability manually then.

Re: 404 Error while starting

Posted: 05 Feb 2019, 10:01
by TMarc
Ah ok, then the host server needs to forward the ports then, unless the virtual server has exclusive access to one hardware ethernet port.

What you should also check are the ports which are already in use without Maniaplanet being started.
E. G. on windows you can use netstat -na on a command console. I don't remember the similar command on linux, sorry.

Re: 404 Error while starting

Posted: 05 Feb 2019, 12:36
by Miss
firefish wrote: 05 Feb 2019, 08:51 The server is a hosted vroot,
What's that? If you mean you just have a VPS, just say VPS :P

Re: 404 Error while starting

Posted: 05 Feb 2019, 15:14
by Alinoa
Hi,

Did you fix your issue?
If yes, can you join this address: https://init.v04.maniaplanet.com/game/request.php?

Cheers :)

Re: 404 Error while starting

Posted: 05 Feb 2019, 22:10
by firefish
Unfortunately, I could not solve the issue yet but the Server has no Problems reaching the given adress:

Code: Select all

$ curl -L https://init.v04.maniaplanet.com/game/request.php
<?xml version='1.0' encoding='utf-8' ?><r><r><n></n><e><v>78</v><m>Invalid request</m></e></r><e>execution time : 0.0024 s</e></r>
  • Is there any way to enable some sort of extended logging or a debug mode?
  • Is the error in question just a generic message or does that specifically mean the network requests are not even reaching the internet?
And yes, i mean a VPS. Sorry for that.