Welcome to Centmin Mod Community
Register Now

error 502: upstream sent unexpected FastCGI record: 3 while reading response header from upstream

Discussion in 'Introductions' started by manhdv, Oct 17, 2019.

  1. manhdv

    manhdv Premium Member Premium Member

    Jun 1, 2019
    Local Time:
    8:38 AM
    I got this error:

    [error] 13420#13420: *9 upstream sent unexpected FastCGI record: 3 while reading response header from upstream, client:, server: beeunlock.com, request: "GET /admin/payment/manage-finance/1 HTTP/2.0", upstream: "fastcgi://", host: "beeunlock.com", referrer: "https://beeunlock.com/admin/payment/manage-finance/1
    I try edit /usr/local/nginx/conf/php.conf, change "fastcgi_pass dft_php;" to "fastcgi_pass;", then all working fine !

    What is the problem here?
    Which should i use ? "fastcgi_pass dft_php;" or "fastcgi_pass;"
    Last edited: Oct 17, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    11:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    welcome @manhdv to Centmin Mod Community. Now that you have introduced yourself, you can post your question in relevant forum at Nginx, PHP-FPM & MariaDB MySQL

    There's 6 steps to learning more about Centmin Mod ;) And to modifying config files and manage services more quickly, check out Centmin Mod Command Shortcuts.

    Might also be interested in reading up on latest LEMP stack comparison benchmarks tagged here.

    You might want to try the 123.09beta01 build as it will be next stable release and well has alot of improvements if you check 2nd post change log at Beta Branch - Centmin Mod .09 beta branch Testing. And you can share your initial install times here.

    Threads you might want to participate in ;)

    Quick Tips

    Threads & Info To Bookmark

    Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include:

    Centmin Mod Insights Forum

    The Centmin Mod Insights forums digs deeper into the inner workings of Centmin Mod so some useful threads in this forum include:

    Security Related Developments

    A few security related developments you might be interested reading about

    Premium Membership

    Centmin Mod Donations

    You now can show your love and support for Centmin Mod via