Page 2 of 2

Re: [B3RC4] Maniascript : CreateGet url truncated ?

Posted: 25 Apr 2013, 13:03
by spaii
At start, i thinked problem comes from http server, but tested with NGINX, Lighttp and Apache2, and problem is the same.

Issue is only on ManiaPlanetServer Linux, not with ingame server and apparently not in Windows version of server.
Tested in Windows version of ManiaPlanetServer few months ago, it seems to be ok.

I have changed url from xxx.stunters.org to 127.0.0.1, like Gugli made test with localhost

Tested with this long url :

Code: Select all

http://127.0.0.1/?enviro=TMCanyon&interface=multi&mapuid=adeuveGrm0XkhwiCm3fYE_IrcX1&login=spaii&score=1410&distance=1858.47&timeplayed=62339&figures=[[1,5,0,0,1,0,0,4319],[13,79,360,1,0,0,0,5665],[16,157,540,2,0,0,0,8365],[1,5,0,3,0,0,0,9732],[16,94,360,4,0,0,0,12809],[1,10,0,5,0,0,0,14765],[13,84,360,6,0,0,0,15959],[8,62,180,7,0,0,0,18858],[3,44,180,8,0,0,0,20765],[3,35,180,9,0,1,0,21605],[18,4,0,10,0,0,0,22348],[16,42,180,11,0,0,0,23398],[12,74,180,12,0,0,0,25198],[4,50,180,13,0,1,0,28205],[18,8,0,14,0,0,0,29924],[4,43,180,15,0,1,0,33223],[35,-50,0,0,0,0,0,33586],[1,5,0,16,1,0,0,37705],[24,26,180,17,0,0,0,38902],[8,161,720,18,0,0,0,42369],[3,36,180,19,0,0,0,43431],[9,109,180,20,1,0,0,46291],[12,84,180,21,0,0,0,49739],[16,72,360,22,0,0,0,52135],[24,33,180,23,0,0,0,55139],[15,118,180,24,0,1,0,56264],[12,90,360,25,0,0,0,58514],[35,-50,0,0,0,0,0,59265],[-1,1410,0,0,0,0,0,62339]]&language=fr&zonepath=World%7CEurope%7CFrance%7CNord%2DPas%20de%20Calais%7CPas%2Dde%2DCalais&nickname=%24i%24o%24009L%24z%24FFF%24o_%24C00%24wt%24z%20%24fff%24o%24w_%24z%24fff%24o___&serverlogin=stunters
I used tshark to see what happens : tshark -i lo


With ManiaPlanetServer Linux version on Debian 6.07 64bits, i've got this in lighttpd log file, url is truncated :

Code: Select all

127.0.0.1 127.0.0.1 - [23/Apr/2013:19:09:40 +0200] "GET //?enviro=TMCanyon&interface=multi&mapuid=adeuveGrm0XkhwiCm3fYE_IrcX1&login=spaii&score=1410&distance=1858.47&timeplayed=62339&figures=[[1,5,0,0,1,0,0,4319],[13,79,360,1,0,0,0,5665],[16,157,540,2,0,0,0,8365],[1,5,0,3,0,0,0,9732],[16,94,360,4,0,0,0,12809],[1,10,0,5,0,0,0,14765],[13,84,360,6,0,0,0,15959],[8,62,180,7,0,0,0,18858],[3,44,180,8,0,0,0,20765],[3,35,180,9,0,1,0,21605],[18,4,0,10,0,0,0,22348],[16,42,180,11,0,0,0,23398],[12,74,180,12,0,0,0,25198],[4,50,180,13,0,1,0,28205],[18,8,0,14,0,0,0,29924],[4,43,180,15,0,1,0,33223],[35,-50,0,0,0,0,0,33586],[1,5,0,16,1,0,0,37705],[24,26,180,17,0,0,0,38902],[8,161,720,18,0,0,0,42369],[3,36,180,19,0,0,0,43431],[9,109,180,20,1,0,0,46291],[12,84,180,21,0,0,0,49739],[16,72,360,22,0,0,0,52135],[24,33,180,23,0,0,0,55139],[15,118,180,24,0,1,0,56264],[12,90,360,25,0,0,0,58514],[35,-50,0,0,0,0,0,59265],[-1,1410,0,0,0,0,0,62339]]&language=fr&zonepath=World%7CEurope%7CFrance%7CNord%2DPas%20de%20Calais%7CPas%2Dde%2DCalais&nickname=%24i%24o%24009L%24z%24FFF%24o\x-& HTTP/1.1" 200 151 "-" "ManiaPlanet/3.3.0 (Linux; rv: 2013-04-19-20_00; context: none; distro: )"
there is the tshark output, url is truncated :

Code: Select all

140.077066    127.0.0.1 -> 127.0.0.1    HTTP GET //?enviro=TMCanyon&interface=multi&mapuid=adeuveGrm0XkhwiCm3fYE_IrcX1&login=spaii&score=1410&distance=1858.47&timeplayed=62339&figures=[[1,5,0,0,1,0,0,4319],[13,79,360,1,0,0,0,5665],[16,157,540,2,0,0,0,8365],[1,5,0,3,0,0,0,9732],[16,94,360,4,0,0,0,12809],[1,10,0,5,0,0,0,14765],[13,84,360,6,0,0,0,15959],[8,62,180,7,0,0,0,18858],[3,44,180,8,0,0,0,20765],[3,35,180,9,0,1,0,21605],[18,4,0,10,0,0,0,22348],[16,42,180,11,0,0,0,23398],[12,74,180,12,0,0,0,25198],[4,50,180,13,0,1,0,28205],[18,8,0,14,0,0,0,29924],[4,43,180,15,0,1,0,33223],[35,-50,0,0,0,0,0,33586],[1,5,0,16,1,0,0,37705],[24,26,180,17,0,0,0,38902],[8,161,720,18,0,0,0,42369],[3,36,180,19,0,0,0,43431],[9,109,180,20,1,0,0,46291],[12,84,180,21,0,0,0,49739],[16,72,360,22,0,0,0,52135],[24,33,180,23,0,0,0,55139],[15,118,180,24,0,1,0,56264],[12,90,360,25,0,0,0,58514],[35,-50,0,0,0,0,0,59265],[-1,1410,0,0,0,0,0,62339]]&language=fr&zonepath=World%7CEurope%7CFrance%7CNord%2DPas%20de%20Calais%7CPas%2Dde%2DCalais&nickname=%24i%24o%24009L%24z%24FFF%24o\306 HTTP/1.1 
Then i tested to telnet this url and all is ok.

Thx ;)

Re: [B3RC4] Maniascript : CreateGet url truncated ?

Posted: 16 May 2013, 12:20
by xbx
(fixed)

Re: [B3RC4] Maniascript : CreateGet url truncated ?

Posted: 16 May 2013, 17:12
by spaii
Thx :thumbsup: