Response too large, Dedicated Server API (Gbx Remote) (PHP)

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

Moderator: NADEO

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

Response too large, Dedicated Server API (Gbx Remote) (PHP)

Post by toffe » 18 Sep 2016, 10:50

Please take a look at the github issue asap as it's crashing at large cups:

https://github.com/maniaplanet/dedicate ... /issues/20
ManiaPlanet Toolkit: topic + download app.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller Image

Palteza
Posts: 81
Joined: 12 Oct 2011, 03:08

Re: Response too large, Dedicated Server API (Gbx Remote) (P

Post by Palteza » 18 Sep 2016, 11:08

Nice find

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

Re: Response too large, Dedicated Server API (Gbx Remote) (P

Post by The_Big_Boo » 18 Sep 2016, 11:37

There are 2 possibilities here :
- The maximum response size of 4MB is wrong because the dedicated server is actually able to send larger responses, then the value should indeed be increased. Maybe you could try changing it at the top of GbxRemote.php and see how it goes.
- The maximum response size is right, then eXpansion shouldn't crash and handle the exception nicely (and it should anyway), by asking the ranking by chunks (there are optional parameters in the method for this).
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

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

Re: Response too large, Dedicated Server API (Gbx Remote) (P

Post by toffe » 18 Sep 2016, 11:40

The_Big_Boo wrote: - The maximum response size of 4MB is wrong because the dedicated server is actually able to send larger responses, then the value should indeed be increased. Maybe you could try changing it at the top of GbxRemote.php and see how it goes.
Just changed, we will see.
The_Big_Boo wrote: - The maximum response size is right, then eXpansion shouldn't crash and handle the exception nicely (and it should anyway), by asking the ranking by chunks (there are optional parameters in the method for this).
Could be possible, then reducing the call with few players instead of every player (instead of getCurrentRanking(-1, 0)) instead so it won't get such big responses.

Anyway, I increased it for now as an easy fix that hopefully fixes this issue and is stable again during cups.
ManiaPlanet Toolkit: topic + download app.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller Image

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

Re: Response too large, Dedicated Server API (Gbx Remote) (P

Post by oliverde8 » 18 Sep 2016, 12:42

Hi,

This is quite critical, working on doing it in chunks in eXpansion.

https://github.com/eXpansionPluginPack/ ... issues/225
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
magnetik
Nadeo
Nadeo
Posts: 1634
Joined: 01 Feb 2012, 19:13
Location: Paris
Contact:

Re: Response too large, Dedicated Server API (Gbx Remote) (P

Post by magnetik » 26 Sep 2016, 08:17

Let's continue the discussion in the bug directly.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!

Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest