|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68927 upstream sent invalid status "40" while reading response header from upstream
Submitted: 2015-01-28 02:36 UTC Modified: 2015-02-08 04:22 UTC
From: jimspiti at hotmail dot com Assigned:
Status: No Feedback Package: Other web server
PHP Version: 5.4.37 OS: Centos 6.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jimspiti at hotmail dot com
New email:
PHP Version: OS:


 [2015-01-28 02:36 UTC] jimspiti at hotmail dot com

I am using Nginx and phpfpm...

When i try to use this link on my forum:

I am getting 502 bad gateway error but only for this link as all the rest on my forum is working great..

Checking the nginx logs as (php logs don't report anything) i got this:

upstream sent invalid status "40" while reading response header from upstream

On the net here is no any related info about this error code :(



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-28 02:55 UTC]
-Status: Open +Status: Feedback
 [2015-01-28 02:55 UTC]
This is not the place for support with your software. Please use IP.Board's support channels first, and if they say that there is a bug in PHP then we can deal with it.

Meanwhile I did find this:
 [2015-02-08 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2015-05-31 13:36 UTC] admin at ramzes dot ws
This is IP.Board bug - no problem in php-fpm

This forum engine can send "40" http code instead of the correct "403".

My solution to the problem
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC