Top Tweets for #502s
docker rollout's README warns that a rollout without draining drops requests. I measured how many before moving @FilingIQ to it to FINALLY have zero-downtime-deploys.
Without draining: 32 failed requests in one rollout, 502s and timeouts. Traefik kept routing to the old container for a moment after it was stopped.
With a retry in the proxy: between 2 and 21. Better, but STILL not zero.
With draining: 0 failed requests out of 5,329.
Draining here means the old container starts failing its healthcheck before the stop, Traefik takes unhealthy containers out of rotation, and only then is it stopped. Same idea as connection draining on a load balancer or a preStop sleep in Kubernetes.
The part that is easy to get wrong is the wait. It has to outlast the healthcheck's interval times its retries, plus a moment for the proxy. At 20 seconds instead of 40: 214 failures.
How long do your containers drain before they stop?
@YashJejurkar @GoogleAI @OpenAI @AnthropicAI That key-rotation piece is where gateways quietly break. Gotcha: when you rotate, keep the old key live until in-flight generations drain, else long responses cut mid-stream and surface as 502s that look like a provider outage. pgxpool for the pool is a solid pick.
Air Jordan 6🔥
1️⃣ Black / Infrared
2️⃣ White / Infrared
3️⃣ Olympic
4️⃣ Carmine
Which pair you rockin’? 🔥

Gitlab has been down with 502s all day, so the arcade is open. Top named score gets a month of Cursor Pro.
https://t.co/uB3fRxxcKn
Gitlab has been down with 502s all day, so the arcade is open. Top named score gets a month of Cursor Pro.
https://t.co/uB3fRxxcKn
gitlab web + API still throwing 502s since about 11am UK, no fix yet. arcade is open if you need a break from refreshing. https://t.co/uB3fRxxcKn
gitlab's website and API are still throwing 502s, roughly since 11am UK. while the pipelines stay stuck, the arcade is open: https://t.co/uB3fRxxcKn — top named score wins a month of Cursor Pro.
Your pod is Running.
CPU looks normal.
Memory looks normal.
The deployment is green.
Users are still getting 502s.
What's the first thing you're checking?
Supabase CLI v2.111.0 fixes two silent killers: bulk function deploys that would bail partway through, and database resets that left Kong serving 502s. Metadata now syncs even when a deploy fails mid-batch, so you don't lose state.
Kong reload on db reset now ships, clearing the stale routing table that was causing the cascading failures.
Secrets SELinux startup guard landed too. Splinter (their manifest tool) now auto-generates splinter.json and gates releases on intent commits only, skipping accidental pushes.
Quiet but necessary fixes. The kind that save you an hour of digging at 2am. #javascript
https://t.co/Ra5Pf9YJH9
Shipped by @0xbhv, @steven_boKnows, @softwarecuddler.
@saen_dev "100%! Combining passive failovers with active checks made a huge difference in avoiding those mid-flight 502s.
@YashJejurkar Active health checks catch dead servers but passive checks are the ones that actually save you from serving errors to live traffic mid-request. Good that you combined both — most tutorials only show active and then wonder why they still see 502s under load.
@JADEtearoom TIGHT UP SKIRT
I just shipped AutoVoyce to production, the little AI agent workflow that lets you chat with YouTube videos like they’re sitting next to you.
What started as “wouldn’t it be cool if…” turned into real infra pain (and growth).
Here’s the raw, unfiltered list of what production actually taught me:
- Security Groups are not a firewall. (I learned this the hard way 🔒📷
- Public IP = rental car. Elastic IP = your own parking spot. Static matters when DNS is watching.
- AZ ≠ Region. One crash in us-east-1a and your multi-AZ dream dies quietly.
- docker run localhost → cute. docker run prod → therapy needed 😅
- --env-file is love. Plain env in docker-compose is how you leak keys at 3 a.m.
- Nginx as reverse proxy: suddenly 502s become poetry instead of nightmares.
- CORS preflight OPTIONS 400 errors are very real and will gaslight you for hours
- Certbot + real SSL. Let’s Encrypt is free therapy for HTTPS anxiety.
- Port 8000 open to the world? Yeah… about that… (UFW became my new best friend)
- Basic hardening isn’t optional it’s the difference between “cool side project” and “tomorrow’s headline”.
Final architecture that actually survived the internet:
Cloudflare > HTTPS > Nginx > Docker > FastAPI > AI brain
This wasn’t “docker compose up” with extra steps.
Still early, still iterating, but it’s live and you can now actually talk to YouTube videos through it.
If you’ve ever fought AWS networking at 2 a.m. or cried over a CORS error. drop your war story below. Misery loves company.
#BuildInPublic #AWS #Docker #DevOps #FastAPI #AIEngineer #indiehackers

midday deep work at king's cross. coal drops yard is cold but the wifi is strong.
day 14 of building
- debugging a race condition in the worker
- railway deployments finally behaving after a morning of 502s
- next.js middleware is actually black magic
solo founding is just one long conversation with your terminal until something ships. immigrants get it... just keep head down and execute.

Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.7M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers













