this post was submitted on 14 Jun 2023
31 points (100.0% liked)

Programming.dev Meta

59 readers
1 users here now

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

founded 2 years ago
MODERATORS
31
DNS Outage (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by snowe@programming.dev to c/meta@programming.dev
 

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.

top 9 comments
sorted by: hot top controversial new old
[–] chaoticAnimals@programming.dev 7 points 2 years ago

Thank you for all the hard work!

[–] Buddhist1961@programming.dev 5 points 2 years ago (1 children)

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.dev 4 points 2 years ago (1 children)

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.

[–] Buddhist1961@programming.dev 2 points 2 years ago

Again, thanks for your hard work!

[–] r0bbbo@programming.dev 4 points 2 years ago (1 children)

I'm still seeing intermittent Cloudflare and Nginx errors—is the issue ongoing?

[–] snowe@programming.dev 2 points 2 years ago

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

[–] cnx@slrpnk.net 4 points 2 years 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.

[–] ruffsl@programming.dev 2 points 2 years ago

Hypothetical: If we ever upgraded to http/3, how does Cloudflare handle this? My understanding is that http/3 can only use the https protocol, given QUIC transport underneath http/3 only supports TLS 1.3, and never clear text.

Would Cloudflare then have to proxy https with man-in-the-middle certs, or would our backend always be limited to http/1.2? I've not found and proxy examples for having end-to-end http/3 and QUIC support just yet.

[–] deprecated@programming.dev 1 points 2 years ago

Thank you for working to resolve the issue. Your volunteer efforts are appreciated.