Join the community today
Become a Member

Beta Branch Nginx Upgrade - zero downtime mode

Discussion in 'Beta release code' started by eva2000, Jul 16, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    41,723
    9,395
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,431
    Local Time:
    12:19 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    indeed - though the other argument is that on a non-Cloudflare setup, you won't have any visibility into such errors for visitors who do not report such errors either.

    with Cloudflare you can dig into Cloudflare API to get some stats though for your Cloudflare Zone

    excerpt from my custom Cloudflare API analytics scripts for HTTP status codes
    Code (Text):
    ------------------------------------------------------------------
      Cloudflare Zone Analytics
    ------------------------------------------------------------------
    ------------------------------------------------------------------
      Requests HTTP Status Codes:
    ------------------------------------------------------------------
      "101": 7,
      "200": 47769,
      "204": 1213,
      "206": 7,
      "301": 1020,
      "302": 3949,
      "303": 8297,
      "304": 1321,
      "307": 721,
      "401": 12,
      "403": 430,
      "404": 345,
      "405": 6,
      "415": 1,
      "416": 11,
      "499": 459,
      "500": 13,
      "520": 119
    

    Also any origin Centmin Mod CSF firewall level or Nginx level blocking will display as Cloudflare error page to visitors as well as Cloudflare won't get a response from Centmin Mod's CSF Firewall too or Nginx.

    i.e. Cloudflare 522 errors Troubleshooting Cloudflare 5XX errors and 523 errors Troubleshooting Cloudflare 5XX errors
     
    • Informative Informative x 1
  2. rdan

    rdan Well-Known Member

    4,671
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    10:19 PM
    Mainline
    10.2
    Errors are happening at random and only few times daily.
    And looking at their IP, they are not being limited or block by Nginx/CSF.

    Hmm, I'll just move on and fucos on my user's reported issue.
    They are very sensitive and report any errors or slow response they encounter.
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    41,723
    9,395
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,431
    Local Time:
    12:19 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    I see. As part of troubleshooting process do you get them to visit other cloudflare sites to see if it's a problem ? You can setup a 2nd test site on cloudflare on same server or same server/webhost location and get folks to visit that to see if they have same issue or not too. Cloudflare support also can provide logs if asked nicely too.
     
    • Like Like x 1
  4. rdan

    rdan Well-Known Member

    4,671
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    10:19 PM
    Mainline
    10.2
    Works fine now with 1.17.4 and Dynamic TLS only.

    So issue could be coming from Zero Downtime mod or Hpack.
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,477
    335
    83
    May 31, 2014
    Ratings:
    +642
    Local Time:
    5:19 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    I am using Hpack with no issues.