
| Key: |
MBS-4499
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Normal
|
| Assignee: |
Unassigned
|
| Reporter: |
Ian McEwen
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
From i18n.mbsandbox.org's log:
2012/03/29 02:59:01 [error] 8589#0: *10561 FastCGI sent in stderr: "[debug] Redirecting to "/login"" while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
2012/03/29 02:59:01 [error] 8589#0: *10561 FastCGI sent in stderr: "[error] Caught exception in engine "Bad Content-Length: maybe client disconnect? (47 bytes remaining) at local/lib/perl5/Plack/Middleware/Debug/Parameters.pm line 20"" while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
2012/03/29 02:59:01 [error] 8589#0: *10561 upstream closed prematurely FastCGI stdout while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
When this happens, the login page fails to log you in, and returns a 502 when you try. Setting CATALYST_DEBUG to 0, disabling the panels, fixes the problem.
|
|
Description
|
From i18n.mbsandbox.org's log:
2012/03/29 02:59:01 [error] 8589#0: *10561 FastCGI sent in stderr: "[debug] Redirecting to "/login"" while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
2012/03/29 02:59:01 [error] 8589#0: *10561 FastCGI sent in stderr: "[error] Caught exception in engine "Bad Content-Length: maybe client disconnect? (47 bytes remaining) at local/lib/perl5/Plack/Middleware/Debug/Parameters.pm line 20"" while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
2012/03/29 02:59:01 [error] 8589#0: *10561 upstream closed prematurely FastCGI stdout while reading response header from upstream, client: 10.1.3.13, server: i18n.mbsandbox.org, request: "POST /login?uri=%2Flogin HTTP/1.0", upstream: "fastcgi://unix:/home/i18n/.fcgi.socket:", host: "i18n.mbsandbox.org", referrer: "http://i18n.mbsandbox.org/login"
When this happens, the login page fails to log you in, and returns a 502 when you try. Setting CATALYST_DEBUG to 0, disabling the panels, fixes the problem. |
Show » |
Sort Order:
|
Just to highlight this again, alastairp jut had this problem with his server as well – it happens any time you're running MBS with the Parameters debug panel and behind nginx/fcgi.
If app.psgi has a way of detecting what plack method it's using, we can just disable Parameters conditionally if the method is FCGI.