close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

522 Error from Cloudflare after finished setup new SlickStack

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3408
    Sean
    Guest

    Seeing a 522 error page issued by Cloudflare, and my website is not loading after completing the entire ss-install sequence…

    #3409
    Kelly
    Guest

    yes this is an ongoing issue currently, you can simply sudo reboot and it fixes it (only affects first time SlickStack installs)

    nobody sure why this is happening but more testing is being done

    I think someone people see 502 error or 522 error…

    #3410
    Michelle
    Guest

    Cloudflare likes to show the 522 “timeout” but sometimes it’s hiding a more specific issue on the actual origin server.

    #3411
    Natalie
    Guest

    There are 2 main issues we have been trying to fix over the past year:

    1. Lets Encrypt failing to issue on the first attempt
    2. 5xx error after first SlickStack install

    Because these seemed possibly related, it made debugging them very confusing, esp. based on somewhat conflicting info we found while researching Certbot issues. To make matters even more confusing, the 5xx error only seemed to appear after Ubuntu 22.04 LTS… however, we now know that it wasn’t related to the kernel as we initially suspected.

    The Lets Encrypt problem had to due with port 80 not 301 redirecting Certbot properly based on domain-matched Nginx blocks.

    why does SlickStack fail to activate Lets Encrypt on first attempt

    And the 5xx error we now believe was due to PHP-FPM being restarted instead of reloaded, which resulted in TCP listener 127.0.0.1:9000 never initiating until reboot.

    #3412
    Nicole
    Guest

    technically the 522 timeout could also be from wrong DNS settings etc too

    #3444
    Jean
    Guest
    #3445
    Ryan
    Guest

    And the 5xx error we now believe was due to PHP-FPM being restarted instead of reloaded, which resulted in TCP listener 127.0.0.1:9000 never initiating until reboot.

    Patch commit here

    https://github.com/littlebizzy/slickstack/commit/1b58fc9f79bffcc9d6687b890a98fc90314da1d8

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!