Get the most out of your Centmin Mod LEMP stack
Become a Member

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

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Jan 28, 2015.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:57 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    When i try to use this link on my forum:

    Code:
    http://www.domain.com/index.php?app=members&module=messaging&section=send&do=form
    I am getting 502 bad gateway error but only for this link as all the rest on my forum is working great..


    Checking the logs i got this:

    Code:
    upstream sent invalid status "40" while reading response header from upstream
    On the net here is no any related info about this error code :(

    Any ideas?

    Thanks
     
  2. Ramzes

    Ramzes New Member

    2
    2
    3
    Jun 7, 2015
    Ratings:
    +2
    Local Time:
    4:57 PM
    1.8
    This is IP.Board bug
    This forum engine maybe send "40" http code instead "403"
    My solution to the problem