Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[Fixed] Version 4.0...
 
Notifications
Clear all

[Fixed] Version 4.0.1 : on valid first step : error 414 : Request-URI Too Large

22 Posts
3 Users
0 Reactions
25 K Views
(@theuds)
Posts: 11
Active Member
Topic starter
 
[#1454]

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.

So cannot proceed install...
(I use WAMP server on XP).


 
Posted : 11 Nov 2013 12H36
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Very strange as you see in the url all the parameters of the query, as if it was a GET request.
But it is a POST one.
Don't you have any browser debug Plugin that transforms POST into GET ?

Could you try with another browser ?


 
Posted : 11 Nov 2013 16H14
(@theuds)
Posts: 11
Active Member
Topic starter
 

Thanks for answer,

Don't you have any browser debug Plugin that transforms POST into GET ?

No, I don't have this

Could you try with another browser ?

Yes,
same with Chromium :


 
Posted : 11 Nov 2013 16H31
(@babynus)
Posts: 14952
Member Admin
 

Very very strange :huh:
I really never got this issue in the 4 years deployment history.

Could you explain how you got to this ? (step by step, how you operated to deploy)

Thanks.


 
Posted : 11 Nov 2013 18H50
(@theuds)
Posts: 11
Active Member
Topic starter
 

I really never got this issue in the 4 years deployment history.

I dont get it to in april when install version 3.2.2

Could you explain how you got to this ? (step by step, how you operated to deploy)

I do unzip file,
go with browser inside folder
and start install :
on first screen, i remove MySQL password,
and then clic on button "OK" (on bottom)


 
Posted : 11 Nov 2013 18H56
(@theuds)
Posts: 11
Active Member
Topic starter
 

My phpinfo()


 
Posted : 11 Nov 2013 19H01
(@babynus)
Posts: 14952
Member Admin
 

Hi,

your phpinfo cannot be read : converted as png, it is not readable.

But I don"t think is comes from PHP.
I guess it comes from browser or about some proxy.

I just compared : there are no change between V3.2 and V4.0 on this page.

Could you try to set-up V3.2 again and install V4.0 over it ?
What happens then ?


 
Posted : 11 Nov 2013 20H25
(@babynus)
Posts: 14952
Member Admin
 

Could you also try to clean your browser cache and check for any Javascript issue reported in the console ?


 
Posted : 11 Nov 2013 20H34
(@theuds)
Posts: 11
Active Member
Topic starter
 

Could you try to set-up V3.2 again

I click OK,
i get message "parameters saved" and them i click on "continue"
and have to login (setup database ok)
so it's works fine.

I go back to new folder,
and write database name (projectorria) of V3.2
same problem


 
Posted : 11 Nov 2013 20H43
(@babynus)
Posts: 14952
Member Admin
 

Could you try to past new folder over the V3.2 that is already working ?


 
Posted : 11 Nov 2013 20H49
(@theuds)
Posts: 11
Active Member
Topic starter
 

Could you also try to clean your browser cache and check for any Javascript issue reported in the console ?

Good idea !

And get hundred of :
other is undefined
chrome://global/content/devtools/dbg-transport.js


 
Posted : 11 Nov 2013 20H52
(@babynus)
Posts: 14952
Member Admin
 

Could you try the attached file as a patch ?
(unzip and paste in /tool)


 
Posted : 11 Nov 2013 21H05
(@theuds)
Posts: 11
Active Member
Topic starter
 

Could you try the attached file as a patch ?
(unzip and paste in /tool)

No error,
but stay on same screen (first step).
(no have "config saved)

In console have :

Horodatage : 11/11/2013 19:37:09
Avertissement : L'utilisation de « getAttributeNode() » est obsolète. Utiliser « getAttribute() » à la place.
Fichier Source :  http://127.0.0.1/_divers2/projeqtor/external/dojo/dojo.js?version=%3Cbr%20/%3E%3Cfont%20size=%271%27%3E%3Ctable%20class=%27xdebug-error%20xe-notice%27%20dir=%27ltr%27%20border=%271%27%20cellspacing=%270%27%20cellpadding=%271%27%3E%3Ctr%3E%3Cth%20align=%27left%27%20bgcolor=%27#f57900%27%20colspan= 
Ligne : 15
Horodatage : 11/11/2013 19:37:09
Avertissement : L'utilisation de l'attribut « specified » d'un attribut est obsolète. Cela renvoie toujours « true ».
Fichier Source :  http://127.0.0.1/_divers2/projeqtor/external/dojo/dojo.js?version=%3Cbr%20/%3E%3Cfont%20size=%271%27%3E%3Ctable%20class=%27xdebug-error%20xe-notice%27%20dir=%27ltr%27%20border=%271%27%20cellspacing=%270%27%20cellpadding=%271%27%3E%3Ctr%3E%3Cth%20align=%27left%27%20bgcolor=%27#f57900%27%20colspan= 
Ligne : 15

 
Posted : 11 Nov 2013 21H39
(@babynus)
Posts: 14952
Member Admin
 

Hi,

The messages in the console are only warning.

No error : you mean no more javascrip error ?

Stay on same screen : with spinner always turning ?

Could you check for an error in the log file ?

Could you try to past new folder over the V3.2 that is already working ?


 
Posted : 11 Nov 2013 22H09
(@theuds)
Posts: 11
Active Member
Topic starter
 

The messages in the console are only warning.

No error : you mean no more javascrip error ?

I mean no apache/php error displayed.

Stay on same screen : with spinner always turning ?

Stay on screen with all parameters.
(pas compris "spinner always turning")

Could you check for an error in the log file ?

In Apache log :
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: version in D:\wamp\www\_divers2\projeqtor\tool\config.php on line 299, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 1. {main}() D:\wamp\www\_divers2\projeqtor\tool\saveDataToSession.php:0, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 2. require_once() D:\wamp\www\_divers2\projeqtor\tool\saveDataToSession.php:5, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 3. include_once() D:\wamp\www\_divers2\projeqtor\tool\projeqtor.php:38, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: build in D:\wamp\www\_divers2\projeqtor\tool\config.php on line 299, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 1. {main}() D:\wamp\www\_divers2\projeqtor\tool\saveDataToSession.php:0, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 2. require_once() D:\wamp\www\_divers2\projeqtor\tool\saveDataToSession.php:5, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php
[Mon Nov 11 19:39:07 2013] [error] [client 127.0.0.1] PHP 3. include_once() D:\wamp\www\_divers2\projeqtor\tool\projeqtor.php:38, referer: http://127.0.0.1/_divers2/projeqtor/view/main.php


 
Posted : 11 Nov 2013 22H40
(@babynus)
Posts: 14952
Member Admin
 

The errors in Apache log file are minor ones.

Could you try to past new folder over the V3.2 that is already working ?


 
Posted : 12 Nov 2013 1H13
(@babynus)
Posts: 14952
Member Admin
 

What version of WAMP are you using ?
(I 'll try it)


 
Posted : 12 Nov 2013 17H50
(@theuds)
Posts: 11
Active Member
Topic starter
 

Could you try to past new folder over the V3.2 that is already working ?

Yes, it's works !
(sorry to not try before)
but not explain why install was not working.

What version of WAMP are you using ?

WAMP 2.2 (Apache 2.2.22 - PHP 5.4.3)


 
Posted : 12 Nov 2013 19H40
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I could reproduce issue with WAMP 2.2.
I now have a way to debug.

Regards.


 
Posted : 12 Nov 2013 20H25
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I found the fix.
In fact, during display of configuration screen, an error occured (some variable definition comiong too late).
This causes no issue on most PHP distribs, but leads WAMP to fail on retrieve Javascript files.

The fix is on projeqtor.php file.
Paste attached file (after unzip) in /tool to get the fix.

Will soon be deployed in V4.0.2.


 
Posted : 12 Nov 2013 20H51
(@theuds)
Posts: 11
Active Member
Topic starter
 

PERFECT !

(I'm very proud if i do help you to fix a bug)


 
Posted : 13 Nov 2013 21H51
(@geraldwarp)
Posts: 1
New Member
 

This problem might be caused by the Apache limits the set a size of a client’s HTTP request-line  and the HTTP request header field size.  Extremely long URLs are usually a mistake. If you keep URLs under 2000 characters , they'll work in virtually any combination of client and server software. URI actually have a character limit depending on several things. Chrome limits url length of 2MB for practical reasons and to avoid causing denial-of-service problems in inter-process communication. On most platforms, Chrome's omnibox limits URL display to 32kB ( kMaxURLDisplayChars ) although a 1kB limit is used on VR platforms. IE - 2083 characters, Firefox - 2047 characters, Safari 80000 characters and Opera 190,000 characters.

To resolve the problem :

  • By POST request: Convert query string to json object and sent to API request with POST
  • By GET request: Max length of request is depend on sever side as well as client side. Most webserver have limit 8k which is configurable. On the client side the different browser has different limit. The browser IE and Safari limit to 2k, Opera 4k and Firefox 8k. means the max length for the GET request is 8k and min request length is 2k.

If exceed the request max length then the request truncated outside the limit by web server or browser without any warning. Some server truncated request data but the some server reject it because of data lose and they will return with response code 414.

 


 
Posted : 18 Feb 2021 8H31
Share:

Scroll to Top