How to troubleshoot error 502 bad gateway ?

Discussion in 'Installation/Configuration' started by Ph1L, May 2, 2013.

  1. Ph1L

    Ph1L New Member

    I've build an ISPConfig 3 webserver, and moved a Joomla website, which was hosted on an XAMPP setup (Yes, I know XAMPP is unsecure, that's why it's moved).

    Some pages generates error 502 - bad gateway.

    How to troubleshoot this ?
     
  2. Ph1L

    Ph1L New Member

    Bump ?
    Really need help on this one.
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please check the web site's error log. Maybe you just need to restart PHP-FPM.
     
  4. Ph1L

    Ph1L New Member

    A restart didn't work.

    Latest error, when 502 came:

    2013/05/23 14:06:55 [error] 17431#0: *68201 upstream prematurely closed FastCGI stdout while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: domain.tld, request: "GET /sef/url HTTP/1.1", upstream: "fastcgi://127.0.0.1:9022", host: "www.domain.tld", referrer: "http://www.domain.tld/"
     
  5. Ph1L

    Ph1L New Member

    Bump ? I really need help on this one.
     

Share This Page