At 6:49 Denver/America time today I migrated the DNS nameservers to Cloudflare. This propogated quickly, but inadvertently I had set the SSL/TLS Encryption mode to Flexible, which resulted in Cloudflare attempting to encrypt traffic between itself and the server. But programming.dev already has its own certificate. Cloudflare expects http traffic to come from the origin server, not https, so when it received https it simply tried over and over again, resulting in failure to connect.

Switching the SSL/TLS setting to Full (Strict) fixed the issue. Sorry about that everyone! I’ll try to not break stuff that badly in the future.

  • Buddhist1961@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Thanks for everything you do to keep this instance running. I’m still getting a 500 error sometimes. Do you know if it’s just a temporary issue?

    • snowe@programming.devOPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Hi, it appears we got linked on HackerNews and nginx was not set up properly to handle it. I’ve increased the worker connection count and you should see stuff working now. If not then we still have more work to do.

  • McSinyx@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    1 year ago

    Any chance programming.dev will move away from Cloudflare? There’s an irony in hosting a decentralized Reddit alternative in response of its abusing monopolistic power and putting the server behind a MITM that sees over 20% of the web’s traffic in clear text and forces people in less wealthy areas to help train image recognition models.

    • snowe@programming.devOPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      We got linked on hackernews and nginx wasn’t properly configured for it. It should hopefully be resolved now!