Dedicated Server API Client Communication

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO


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

Re: Dedicated Server API Client Communication

Post by kremsy » 13 Jul 2014, 16:32

One have an error every 5-10minutes:

Code: Select all

[13-Jul-2014 15:25:29 UTC] [ManiaControl EXCEPTION]: Connection timed out while reading header
Class: Maniaplanet\DedicatedServer\Xmlrpc\TransportException
Trace:
#0: Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->onIoFailure(string(while reading header)) in File core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on Line 225
#1: Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->readMessage() in File core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on Line 200
#2: Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->flush(boolean(1)) in File core/Libs/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on Line 130
#3: Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->query(string(GetMaxPlayers), array()) in File core/Libs/Maniaplanet/DedicatedServer/Connection.php on Line 153
#4: Maniaplanet\DedicatedServer\Connection->execute(string(GetMaxPlayers), array(), boolean()) in File core/Libs/Maniaplanet/DedicatedServer/Connection.php on Line 1591
#5: Maniaplanet\DedicatedServer\Connection->getMaxPlayers() in File plugins/MCTeam/WidgetPlugin.php on Line 314
#6: MCTeam\WidgetPlugin->displayServerInfoWidget() in File plugins/MCTeam/WidgetPlugin.php on Line 534
#7: MCTeam\WidgetPlugin->updateWidgets(object(ManiaControl\Players\Player))
#8: call_user_func_array(array(object(MCTeam\WidgetPlugin), string(updateWidgets)), array(object(ManiaControl\Players\Player))...) in File core/Callbacks/Listening.php on Line 62
#9: ManiaControl\Callbacks\Listening->triggerCallbackWithParams(array(object(ManiaControl\Players\Player))) in File core/Callbacks/CallbackManager.php on Line 289
...
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

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

Re: Dedicated Server API Client Communication

Post by kremsy » 12 Aug 2014, 21:21

They are starting to getting quite common :(.
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

User avatar
The_Big_Boo
Posts: 1041
Joined: 15 Jun 2010, 15:46

Re: Dedicated Server API Client Communication

Post by The_Big_Boo » 12 Aug 2014, 22:29

What do you mean by "quite common"?
Anyway, I really don't have any other idea about how to find and fix this issue... I don't know what's in common among those getting it (if it's a hardware thing, an OS thing, a config thing, a particular moment during dedicated execution as I already asked for having the server status information, ...) and I still can't reproduce it whatever I try :? So, unfortunately, there's nothing I can do anymore...
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310

oliverde8
Posts: 1323
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Dedicated Server API Client Communication

Post by oliverde8 » 12 Aug 2014, 22:32

We are using the API in eXpansion we never had an issue, I think it works great :thx:

the fact that their amount changes suggest that it is due to changes you are doing I would say. Need to try and see that. I think checking response time and loop times to see if there is a problem with that would be interesting also.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

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

Re: Dedicated Server API Client Communication

Post by kremsy » 18 Aug 2014, 17:36

@oliverde, which version exactly are you using, the version from NewBoo?
All what we make different I think is that we run a faster cycle, but that never should cause any problems.

Atm let's say from about 100 running Mcs, there are about 5 timeouts per day.

@newboo, thank you soo much for all your work, yeah I know that you can't really do anything, but it's so weired and we just don't understand by what they caused by, and it getting annoying sometimes if people write us that they are happening.
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

oliverde8
Posts: 1323
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Dedicated Server API Client Communication

Post by oliverde8 » 18 Aug 2014, 18:21

hi, we are using the version from 4th of May. we probably should update :roflol:

We do 60 cycles per second, default of Manialive.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

User avatar
w1lla
Posts: 2365
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Dedicated Server API Client Communication

Post by w1lla » 19 Aug 2014, 09:27

apparently it gives some issues in getMaxPlayers(); in the widgetPlugin. Maybe its better to set a debug line there to make certain it can get data or not.

or add a try catch exception line into it to figure the problem out.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs

User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Dedicated Server API Client Communication

Post by steeffeen » 19 Aug 2014, 12:29

the timeout is only happening frequently there because it's called so often
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    User avatar
    w1lla
    Posts: 2365
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

    Re: Dedicated Server API Client Communication

    Post by w1lla » 19 Aug 2014, 12:36

    where it seems to be based on everyplayerconnect aswell as certain callbacks. Just by looking at the code found on github.
    TM² Info
    SM Info
    QM Info

    OS: Windows 10 x64 Professional
    MB: MSI 970A-G46
    Processor: AMD FX-6300 3500 mHz
    RAM Memory: 16 GB DDR3
    Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
    KB: Logitech G510s
    Mouse: Logitech G300s
    Mode Creation
    ManiaScript Docs

    Post Reply

    Return to “Dedicated Server Tools”

    Who is online

    Users browsing this forum: No registered users and 2 guests