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: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

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

Post by toffe »

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

https://github.com/maniaplanet/dedicate ... /issues/20
Palteza
Posts: 97
Joined: 12 Oct 2011, 03:08

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

Post by Palteza »

Nice find
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 »

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: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

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

Post by toffe »

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.
oliverde8
Posts: 1345
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

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

Post by oliverde8 »

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: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

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

Post by magnetik »

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 2 guests