Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Moderator: English Moderator

User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

Hi there,

Since some time I can't connect to any servers some times. I already tried several things regarding to my local computer and network and even tried using a VPN.

The thing is that I can't connect to any server and the debug version gives the following information just when it tries to connect to the server IP:

Code: Select all

[Net] Contacting server at 178.63.88.110:2351...
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamenetwork.cpp Line 5527
	=> 'IsEnabled()' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(16319, 16318)
	Called from address 0x00000001401645F5
	Called from address 0x0000000140164655
	Called from address 0x0000000140AB4444
	Called from address 0x0000000140B2942D
	Called from address 0x0000000140E2701F
	Called from address 0x0000000140A897EA
	Called from address 0x000000014033499D
	Called from address 0x0000000140334B88
	Called from address 0x00000001402FC4F3
	Called from address 0x0000000140875B15
	Called from address 0x0000000140877FF8
	Called from address 0x000000014087A772
	Called from address 0x000000014130665E
	Called from address 0x00007FFCF65D81F4
End of stack...
[Sys] Time is 20h 38mn 41s 487ms
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamectnnetwork.cpp Line 4885
	=> 'm_PreferedServerInfoPingedConnection' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(16320, 16318)
	Called from address 0x00000001401645F5
	Called from address 0x0000000140164655
	Called from address 0x0000000140B2944F
	Called from address 0x0000000140E2701F
	Called from address 0x0000000140A897EA
	Called from address 0x000000014033499D
	Called from address 0x0000000140334B88
	Called from address 0x00000001402FC4F3
	Called from address 0x0000000140875B15
	Called from address 0x0000000140877FF8
	Called from address 0x000000014087A772
	Called from address 0x000000014130665E
	Called from address 0x00007FFCF65D81F4
	Called from address 0x00007FFCF93EA251
End of stack...
[Sys] Time is 20h 38mn 41s 487ms
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamenetwork.cpp Line 4648
	=> 'IsEnabled()' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(16320, 16318)
	Called from address 0x00000001401645F5
	Called from address 0x0000000140164655
	Called from address 0x0000000140AB4C12
	Called from address 0x0000000140B28A1E
	Called from address 0x0000000140E2701F
	Called from address 0x0000000140A897EA
	Called from address 0x000000014033499D
	Called from address 0x0000000140334B88
	Called from address 0x00000001402FC4F3
	Called from address 0x0000000140875B15
	Called from address 0x0000000140877FF8
	Called from address 0x000000014087A772
	Called from address 0x000000014130665E
	Called from address 0x00007FFCF65D81F4
End of stack...
User avatar
Alinoa
Posts: 4721
Joined: 14 Jun 2010, 11:55
Location: France, Paris
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by Alinoa »

Thank you Toffe for your report :)
Ubisoft Support
Your Player Page

More information about maniaplanet, support, contents, community activities: useful links

ManiaPlanet technical documentation portal (Dedicated server, Mediatracker, ManiaLink, ManiaScript, Titles...)
User avatar
Alinoa
Posts: 4721
Joined: 14 Jun 2010, 11:55
Location: France, Paris
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by Alinoa »

Hello Toffe,

Could you please give it a try with external tools as telnet (tcp and udp) and traceroute so that we can know if this issue comes from the network or from the game?

Thank you :)
Ubisoft Support
Your Player Page

More information about maniaplanet, support, contents, community activities: useful links

ManiaPlanet technical documentation portal (Dedicated server, Mediatracker, ManiaLink, ManiaScript, Titles...)
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

Hi,

Currently from nowhere it started working but this happend one time before as well. The last time I had this I debugged everything, I also tried to use several different applications that need TCP and UDP and those applications worked.

I need to say that the current internet connection isn't always the best out here in Greece, but the overal connection is stable and even over VPN I have those issues (so it's not a blocking ISP thingy).

Anyway, my current traceroute to the relay server in a working situation:

Code: Select all

traceroute to relay01.v04.maniaplanet.com (5.135.91.71), 64 hops max
  1   10.30.0.1 (_gateway)  1,512ms  0,845ms  0,842ms 
  2   192.168.2.1 (192.168.2.1)  1,267ms  1,446ms  1,236ms 
  3   62.38.x.x (x.med01.dsl.hol.gr)  18,811ms  18,426ms  18,371ms 
  4   62.38.40.141 (62.38.40.141)  17,848ms  21,586ms  22,898ms 
  5   62.38.97.161 (62.38.97.161)  19,162ms  19,565ms  19,156ms 
  6   62.38.37.94 (62.38.37.94)  20,380ms  19,175ms  18,553ms 
  7   62.38.96.150 (62.38.96.150)  23,655ms  19,520ms  19,126ms 
  8   195.89.103.69 (ae3-100-ucr.ata.cw.net)  18,538ms  18,545ms  17,942ms 
  9   195.2.2.70 (ae4-ucr1.atm.cw.net)  67,582ms  67,135ms  67,013ms 
 10   195.2.21.57 (195.2.21.57)  67,884ms  68,875ms  67,968ms 
 11   195.2.27.174 (195.2.27.174)  67,326ms  67,376ms  67,663ms 
 12   195.2.28.77 (ae26-xcr1.fri.cw.net)  67,466ms  66,816ms  67,452ms 
 13   195.2.10.93 (ae1-xcr2.fra.cw.net)  56,946ms  57,034ms  57,276ms 
 14   195.2.10.210 (ae1-xcr2.prp.cw.net)  67,090ms  66,355ms  66,353ms 
 15   54.36.50.70 (gsw-1-a9.fr.eu)  67,630ms  68,200ms  67,434ms 
 16   94.23.122.214 (be102.rbx-g2-nc5.fr.eu)  72,230ms  114,432ms  71,787ms 
 17   *  *  * 
 18   188.165.9.84 (po7.rbx-s8-6k.fr.eu)  73,102ms  75,177ms  76,854ms 
 19   5.135.91.71 (5.135.91.71)  70,790ms  73,833ms  71,484ms 
As soon as I have a non-working ManiaPlanet I will capture the traceroute at that very moment.

Toffe
User avatar
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by Miss »

toffe wrote: 18 Feb 2019, 16:57even over VPN I have those issues (so it's not a blocking ISP thingy).
I don't think you can assume just because you're over VPN. For example, perhaps your VPN is not tunneling *all* of the traffic, perhaps your VPN isn't properly handling certain traffic etc etc. Good thing it works now though!
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

I have to reopen this issue as I have the problem again for almost 100% of the time. I just tried with new debug version and make sure I have a new fresh log file. I only show you the place that is showing the assertion error exactly at the time of in-game error:

Code: Select all

[Net] Contacting server at 178.63.88.110:2351...
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamenetwork.cpp Line 5527
	=> 'IsEnabled()' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(15696, 15694)
	Called from address 0x00000001401668E5
	Called from address 0x0000000140166945
	Called from address 0x0000000140AB7B44
	Called from address 0x0000000140B2DFDD
	Called from address 0x0000000140E3ABEF
	Called from address 0x0000000140A8CFBA
	Called from address 0x00000001403361AD
	Called from address 0x0000000140336398
	Called from address 0x00000001402FDCD3
	Called from address 0x0000000140877865
	Called from address 0x0000000140879D48
	Called from address 0x000000014087C4C2
	Called from address 0x000000014133944E
	Called from address 0x00007FFC2FFF7BD4
End of stack...
[Sys] Time is 19h 22mn 34s 290ms
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamectnnetwork.cpp Line 4895
	=> 'm_PreferedServerInfoPingedConnection' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(15696, 15694)
	Called from address 0x00000001401668E5
	Called from address 0x0000000140166945
	Called from address 0x0000000140B2DFFF
	Called from address 0x0000000140E3ABEF
	Called from address 0x0000000140A8CFBA
	Called from address 0x00000001403361AD
	Called from address 0x0000000140336398
	Called from address 0x00000001402FDCD3
	Called from address 0x0000000140877865
	Called from address 0x0000000140879D48
	Called from address 0x000000014087C4C2
	Called from address 0x000000014133944E
	Called from address 0x00007FFC2FFF7BD4
	Called from address 0x00007FFC3160CE71
End of stack...
[Sys] Time is 19h 22mn 34s 290ms
Assert Failed in c:\codebase\nadeo\games\gameengine\source\gamenetwork.cpp Line 4648
	=> 'IsEnabled()' failed.
	@ Running (c:\codebase\nadeo\games\gameengine\source\gamectnmenusmaniaplanet.cpp:1124) yield / t=(15697, 15694)
	Called from address 0x00000001401668E5
	Called from address 0x0000000140166945
	Called from address 0x0000000140AB8312
	Called from address 0x0000000140B2D5CE
	Called from address 0x0000000140E3ABEF
	Called from address 0x0000000140A8CFBA
	Called from address 0x00000001403361AD
	Called from address 0x0000000140336398
	Called from address 0x00000001402FDCD3
	Called from address 0x0000000140877865
	Called from address 0x0000000140879D48
	Called from address 0x000000014087C4C2
	Called from address 0x000000014133944E
	Called from address 0x00007FFC2FFF7BD4
End of stack...
[Sys] Time is 19h 22mn 34s 290ms
I think it's related to my OS, either the settings, the drivers, or something else. I have this on both HP laptops and this makes me unable to work on PyPlanet at the moment. I tried different networks, cable or wifi, and all sorts of ideas that I came up with, But it seems to not affect the situation at all. I also tried using VPN, specially after the last client had a fix for some VPN configurations, no difference.

Toffe
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

Is there any progress on this issue. It's annoying and prevents me to develop on PyPlanet at several times which is a bummer.
User avatar
Alinoa
Posts: 4721
Joined: 14 Jun 2010, 11:55
Location: France, Paris
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by Alinoa »

Hello Toffe,

Could you please post a full log when you encounter this issue + the result of a traceroute and a telnet?
Maybe it's a network issue.

Thank you and have a great day :)
Alinoa
Ubisoft Support
Your Player Page

More information about maniaplanet, support, contents, community activities: useful links

ManiaPlanet technical documentation portal (Dedicated server, Mediatracker, ManiaLink, ManiaScript, Titles...)
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

Hi Alinoa,

I have a workaround, don't laugh, it's using my mac and a virtual machine of Windows. I expect it to be the Windows installation/ethernet drivers on my two laptops (same brand laptop) and some network code in the maniaplanet core (btw, this also happens on united). Also, when playing single player, the game crashes when loading a map.

I will post a more recent log later, also from the single player crash.

Toffe
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Can't connect to any server (debug logs included) (gamenetwork.cpp IsEnabled() failed)

Post by toffe »

Hi Nadeo,

Together with Miss we debugged this issue during some late hours and narrow the issue down to the moment Maniaplanet requests broadcast on 0.0.0.0. The error thrown seems to be WSAEACCES (10013), info here: https://docs.microsoft.com/en-us/window ... or-codes-2

Furthermore, the most recent logs version of MP reported the following two unusual lines in the log:

Code: Select all

[Net] Server: hostname='laptom', localip=169.254.70.133, broadcastip=255.255.255.255, bindaddr=0.0.0.0
[Net] CNetTcpUnconnectedServerSocket::Init : Address = 0.0.0.0 - Port = 2 350
[Net] CNetTcpUnconnectedServerSocket::Init : 1 507
[Net] {0} Socket error: The requested address is a broadcast address, but the appropriate flag was not set(10013)
[Console](Info) TCP initialization failed.
In specific, the line [Net] CNetTcpUnconnectedServerSocket::Init : 1 507 seems to be triggered only in my situation because the broadcast failes, it must be a line number printed as it seems right now which is related to an if when listening to the broadcast address failes.
Furthermore, [Net] {0} Socket error: The requested address is a broadcast address, but the appropriate flag was not set(10013) seems to describe the error on my system, I have no clue why this is not possible and why the permission failed as of this moment.

Furthermore, the game actually crashes at other places because these two variables are set to null because of this init failure:

Code: Select all

const CNetServer@ Server
const CNetClient@ Client
And thus makes the game crash in local-player and not able to join any server (with no crash).

As of now it seems to be my two laptops. It might be a driver issue or something else which seems to be related to any software/driver with network capability. But it's weird that other games don't suffer from this issue and don't have any problems with it. Maybe it's an optional step and the failure of the broadcast listening can be ignored so people that suffer from this can still play (except the local network).

EDIT: @Nadeo devs, Ask Alinoa for some more information please, it's worth it ;-)

Thanks,
Toffe
Post Reply

Return to “MP4.1 REPORTS / BUGS / INFORMATION”

Who is online

Users browsing this forum: No registered users and 1 guest