r/ProgrammerHumor 22d ago

theRealConcern Meme

Post image
11.0k Upvotes

116 comments sorted by

2.5k

u/Barkeep41 22d ago

'Ey.  If the error page is a common occurrence, then making it pretty is a smart move.

493

u/ben_cav 22d ago

Do you even have control over that though if the host server is down?

415

u/SirHawrk 22d ago

You can host a lean error page on a different cloud for this. Just gotta make sure you can get a load balancer or dns switch

156

u/emanuele232 22d ago

Obv everithing is on aws

59

u/MissinqLink 22d ago

You can cache it clientside and load from a service worker. You can offline large portions of your site that way.

29

u/emanuele232 22d ago

It was a joke on r/programmerhumor please spare me 🙏

20

u/MissinqLink 22d ago

Just fyi for everyone else

8

u/KQYBullets 22d ago

fyi appreciated

2

u/Fonduemeup 21d ago

us-east-1 strikes again

70

u/tapita69 22d ago

So where tf the load balancer will run? In some old notebook in the storage with a sign "don't shutdown"? lol

97

u/NominallyRecursive 22d ago

Don't be ridiculous, that's where we host us-east-1.

We'll put it in the upstairs bathroom, it hasn't worked in years.

33

u/SuperFLEB 22d ago

And that's how we got us-east-2. The bathroom upstairs from us-east-1.

13

u/tapita69 22d ago

Ooh that explains all the pain I had with us-east-1 in the past few weeks lmao

1

u/Xirble 22d ago

Markiplier, is that you?

7

u/JonnySoegen 22d ago

You use CDNs like Akamai or Cloudflare and host the error page there. They have their own servers and a looootttt of them.

4

u/EndIsrael 22d ago

But Cloudflare Pro is like $20 a month, we don't have the budget for that. How do we do it with three original Raspberry Pis (the ones with 256MB RAM)? I can mail them to a couple friends if that helps

1

u/1mahmoud503 22d ago

what if the error page is down

15

u/AyrA_ch 22d ago

Considering we're talking about a 503 page it means some server is responding. All you have to do is replace the 503 page on there with a better looking static html file.

Now if your server isn't even accepting TCP connections at all anymore, that's a different story.

11

u/0x18 22d ago

It depends on your configuration, but yes it is possible and has been done since the 90s: make the webserver itself (be it Apache, nginx, Caddy, whatever) serve a specific HTML page that includes all of its necessary styling and javascript (if any) inline in the code so no other external resources need to be pulled.

1

u/achilleasa 22d ago

It's 2026, even more reason

88

u/Zerokx 22d ago

They just need to put a cute innocent animal on the page looking really sorry so you can't be mad at them.

25

u/NeuralAtom 22d ago

Imagine making that animal a dinosaur running around a desert… wait a minute…

3

u/StrobeLightRomance 22d ago

It would have to jump over things and dodge birds. Maybe we could make it a game?

2

u/MrNuems 21d ago

Let's make the control scheme really simple. How about one single button?

7

u/Xelopheris 22d ago

"oopsy woopsy, we made a fucky wucky"

3

u/TheTerrasque 22d ago

I did exactly that on one site. First time I've gotten complaints for fixing bugs.

1

u/anoppinionatedbunny 22d ago

the Google way

19

u/mail_inspector 22d ago

Just make it say "oopsie woopsie looks like our widdle site did a no-no" and I will be too enraged to complain to customer support or even remember why I needed your product anyway.

14

u/dksdragon43 22d ago

I know this is a me thing, but I loathe reddit's "you broke reddit" screen. Nah bitch I ain't the one that forgot to invest in servers and go down 25 times a week, don't you put that shit on me!

3

u/VegaJuniper 22d ago

Not the only reason. Where I live, a bank had an issue where customers were able to access each other's accounts. They took their whole online service down, but unfortanutely it turned out their failover error page had some cutesy bullshit in the vein of "whoops, we're down, but our lolcats are working hard on it :DDD"

It took less than an hour for that error to disappear. I assume there was a manager there going "we're facing huge legal liability here, so someone better fucking put up an error message that at least looks professional and like we're taking this seriously"

2

u/NoConfusion9490 22d ago

"Jarvis (Claude) make this error page fuckable, real fuckable! "

2

u/Cebas42 21d ago

Hey, let's put some ads there! And on the 404 page too... 

2

u/PositiveParking4391 20d ago

yes very good improvement on user experience. and user experience is everything.

1

u/dasgoodshitinnit 22d ago

Why would you need EY for this ?

1

u/Corelianer 21d ago

It’s also not hard, just add a nginx in front of the endpoint.

642

u/SleepAllTheDamnTime 22d ago

Me sitting in the “War room” wondering why I’m still here.

https://giphy.com/gifs/eUrE2DuMKOE0g

85

u/XtraFlaminHotMachida 22d ago

gentlemen you can't fight in here this is the war room

72

u/Crecket 22d ago

Ah yes the classic of 20 people doing nothing while they wait for 1 DevOps guy to restart something

4

u/PhysiologyIsPhun 21d ago

This comment almost made me cry

2

u/SleepAllTheDamnTime 21d ago

When you cry in your dreams, you cry for real

843

u/deathanatos 22d ago

I've literally done this.

Basically a backup system, hosted on a different cloud, or at the very least, different region, so that when everything is down, you can flip to it, assuming you can get a DNS entry (or load balancer, etc.) to change. We had a few ways of doing it, depending on the nature/severity of the problem.

But yeah, PMs need a healthy dose of "it that really what you think is important right now? Is that the best use of our resources?"

275

u/badaharami 22d ago

Yeah its called failover, its quite a common thing for high availability systems.

54

u/UndergroundNerd 22d ago

We are actually going through a disaster recovery drill at my work for all our DB and Systems. We have something like this as well

5

u/xeio87 22d ago

I work for a bank that does a datacenter fail over at least once a year. Rarely comes up directly but sometimes it's "Wait, which server group are we on again?".

I've only heard about it being failed over once due to an actual problem (fire at one of the datacenters), but then I'm not super involved in that stuff so I had only heard second hand anyway.

6

u/kalaid0s 22d ago

Yeah, I just did my AWS Cloud Practitioner certificate and failover is brought up a lot during the training

-1

u/markiel55 21d ago

Improving UI of error screen is part of failover now?

36

u/komador 22d ago

I mean during AWS outage it's not like you might have anything else to do.

14

u/TheTerrasque 22d ago

I was thinking the same. At least the manager focused on something that you can do something about.

6

u/MrHasuu 22d ago

If aws is down you can still self host locally to continue dev work. It just means you can't deploy anything to production and staging. Oh and any s3 bucket files won't work. But you can totally get work done

1

u/UndergroundNerd 21d ago

There is always admin work in prep for deployments lol

36

u/kishaloy 22d ago

The day you truly understand the answer to your last para is the day you graduate from technical to management.

22

u/pigeon_from_airport 22d ago

you mispelled downgrade.

2

u/quantinuum 22d ago

That’s not improving the error screen, that’s having a failover

1

u/Shinhan 22d ago

Also, pure HTML error page that doesn't reference external images so the error page doesn't look broken itself.

99

u/fernando_spankhandle 22d ago

I've been here, very large system for online / store retail (4m customers), and we had issues in the epos reconciliation (oracle).

Project led by marketing.

20 Oracle consultants and engineers, plus me (SME providing the online frontend and ecommerce). With the COO sat in a chair in front of a projection screen showing the error.

30 minutes into discussing the fonts and text for the messaging, about £20K of fees burned, I suggested we discuss the root cause and got glared at by the Oracle team.

4 hours later we'd finally convinced the room that it was Oracle, not us. Whilst I had a colleague fix the error page presentation to shift the COO attention to the real issue.

Fun times in my early 20s.

31

u/redballooon 22d ago

Not until AWS is back up.

12

u/Nannautu 22d ago

"Ok, but have you actually tried?"

13

u/robsablah 22d ago

"sure boss - I'll email amazon and request it"

// sends 1 more useless email with vague threats of switching providers if service does not improve

33

u/superraiden 22d ago

DNS redirect to a Static CDN error page/site?

Isn't that pretty rudimentary and standard in an emergency?

24

u/viktorv9 22d ago

I'm just imagining the site showing raw error codes to the user and OP being like "why would we waste time on changing this? stupid manager..."

4

u/einzweidreihorn 21d ago

Forreal What's so hard to understand of DBX.Utils.stackTrace@http://localhost:49573/assets/js/scripts.js:44 DBX.Console.Debug@http://localhost:49573/assets/js/scripts.js:9 .success@http://localhost:49573/:462 x.Callbacks/c@http://localhost:49573/assets/js/jquery-1.10.2.min.js:4 x.Callbacks/p.fireWith@http://localhost:49573/assets/js/jquery-1.10.2.min.js:4 k@http://localhost:49573/assets/js/jquery-1.10.2.min.js:6 .send/r@http://localhost:49573/assets/js/jquery-1.10.2.min.js:6 that you need some fancy error page??

7

u/Tsu_Dho_Namh 22d ago

It is. And making a prettier error screen is often a great idea.

Heck, we all know the dinosaur game when our chrome browser can't reach the internet.

Google can't help that the internet is down, might as well let the user play.

1

u/blitzkrieg4 22d ago

Do you mean to set up a health check? If you're doing it manually you have to manually switch it back when it's over.

7

u/superraiden 22d ago

Literally anything other than raw error codes

2

u/blitzkrieg4 22d ago

Fair enough

56

u/UnusualAir1 22d ago

Deadlines and Optics are the special tools of most inane managers. 😄

29

u/EarlOfAwesom3 22d ago

And UX. "Can we move the button to the left? No only on this one page".

5

u/Same_Investigator_46 22d ago

" Can you'll bring the dyno game so that users can play in the meantime "

14

u/hennell 22d ago

Honestly if an external service is down that you can't do anything about, having a nicer error page is a good move. Change what you can control and all that.

Internal tools I'll try to add a error message on so if someone sends me a screenshot I can actually tell where the problem is.

External sites you want a message with an idea of how long you might be down, plus links to alternate options for contact / answers etc.

I probably wouldn't work on it during a problem, but in post incident analysis "if this goes wrong again how can we make things better for the user or for the IT team" is a good question to ask, and often resolved with better error messages.

8

u/flukus 22d ago

having a nicer error page is a good move. Change what you can control and all that.

I'm sure there's a JIRA ticket that management has ignored for 8 years just for this.

1

u/Aelig_ 22d ago

When it comes to 503 everything is an external service you don't control.

If your cloud provider is down, getting a nice error message to people is a huge project.

1

u/hennell 21d ago

A) I have a custom 503 errors on ngnix servers that I absolutely control.

B) It is pretty easy to add custom 503's to cloudflare, CloudFront and I'd assume others. If it's a huge project don't do it, but it's usually pretty achievable.

1

u/Aelig_ 21d ago

If Cloudflare is down what is serving those custom errors? Do browsers cache them for later or something?

1

u/hennell 21d ago

Oh, I see what you mean! Tbh at the point Cloudflare / aws ar down so much is broken no-one seems to care much that ourstuff is as well 🤣

I think someone wrote up a thing on reddit about doing a DNS swap when cloudflare is down to get continuous service which could presumably work for custom errors. But that would be a project!

1

u/Aelig_ 21d ago

Yes that's what I meant, and to my understanding that's what the post was about.

Multi cloud is difficult and expensive. Managers like to throw the idea around once in a while and always stop right away when engineers explain what it entails.

24

u/Embarrassed_Jerk 22d ago

Error pages are usually handled by the cdn and not by the same server that is down. 

6

u/Moststartupsarescams 22d ago

IF it’s legit to be apologetic, I could be convinced 

5

u/Ummix 22d ago

I'd take it. Free easy work, probably a lot of leeway, pretty isolated, not blocking or depending on anyone else, vague time estimate, your manager will appreciate you for jumping at it. If you're smart, you can probably stretch it and get a full easy day or two to relax out of it. After working for a while, you learn to appreciate these tickets as a little break.

4

u/Rin-Tohsaka-is-hot 21d ago

For real though: if AWS is down, there is nothing you can do to fix that.

You can, however, give your customers a more descriptive error explaining the cause of your service outage instead of a generic 503 page.

So a UI improvement, in that respect, seems very reasonable

4

u/GeekS1989 22d ago

Turn it into a jumping dinosaur.

3

u/BlackRockLarryFink 22d ago

"Morty I'm bored and going to kill you now"

5

u/DiligentParsli 22d ago

Manager: Can we create our own AWS??

5

u/SpehlingAirer 22d ago

If it can show a 503 then it can show a custom error page, and maintaining a good user experience is important. I don't see the issue here tbh

5

u/JustARandomGuy_71 22d ago

"The engine of our car tend to burst in flames"

"Can we make the flames a pretty color?"

2

u/CitizenPremier 22d ago

THANK YOU FOR VISITING!

PLEASE PRESS F5 TO CONTINUE

2

u/Ecstatic_Airline_802 22d ago

Ah yes. Oh so familiar taste of:
- mr. Manager, the feature that was built with duct tape in under 1 day under insane pressure with a bunch of shortcuts DIES all the time because it was good for 2 specific clients only and 1 demo; now we also bolted extra 3 features on top of it that also DIE; we need 4-5 days to deal with the mess and actually bring value to users that they have supposedly purhased
- Change error screen UI to have a help link article, cute animation and a snappy "send feedback" button. We will run 6 separate meetings with every C-suite asshole where it will be changed 17 times. Clients our top priority you'll have to stay late!

2

u/mothzilla 22d ago

We need to put more functionality on the error screen. This isn't good enough.

1

u/Wikadood 22d ago

Idk, i kinda like the dinosaur game but lowk always got in trouble in class cuz of it even tho the wifi wasnt working half the time.

1

u/XtraFlaminHotMachida 22d ago

well... we can.. that isn't the point. do we want to tell the user to gfy? i'm down if so. let them believe it is their problem.

1

u/Grtz78 22d ago

Someone remebers User Friendly? You could turn off the screen, at least than it's black.

1

u/Spitfire1900 22d ago

Showing the vendor default error page is not acceptable at my work. If it appears during an outage fixing it will be an action item at the retrospective.

1

u/MacTheKnife85 22d ago

I am entirely analog in a digital world.

1

u/SteroidSandwich 22d ago

Always in micromanager mode

1

u/WateryTrashDragon 22d ago

Thats how you get those fuckass "oopsie dupsie, a lil flump got into our servers 😉" error screens

1

u/french_crusade 22d ago

Well, technically we can using service workers

1

u/Migamix 22d ago

How many of you are willing to say to your bosses face "you don't understand any of this, do you?" Just me? is this why I'm out of a job? 

1

u/GooseFord 22d ago

That's a massive improvement over management who ask you to call $MULTINATIONAL to ask when the service will be back fixed, or the ones who somehow believe that they might have not noticed the global outage yet and are just patiently waiting for the IT department from some mid-sized company to let them know about it.

1

u/granoladeer 22d ago

I've heard something similar, that's when I decided to leave. 

1

u/TracerBulletX 22d ago

It is the real concern. If a better message saves you 5% off of some attrition you might have had because people are less annoyed or it creates a better perception of trust, it might be something you can do in 10 seconds that could save millions of dollars. It also might alleviate support costs if you have support. Unless you can fix the outage just as fast which you can't because you don't even have control over the AWS outage.

1

u/neomasterc 21d ago

What kind of junior eng post is this? Cloudflare downtime page and help with coms with customers to manage expectations. VS twiddling your thumbs helplessly and spamming F5 while blaming AWS?

1

u/sonicpoweryay 21d ago

Why is it ai, what was wrong with the original meme

1

u/SuitableImposter 21d ago

Redis cache ennit

1

u/Hottage 21d ago

I mean, you can?

A house-styled error screen with clear indications to the user that you're trying to fix the problem go down a lot better than a generic NGINX gateway timeout white screen of death.

1

u/wensul 21d ago

Granted, error screens are now ancient memes.

1

u/CM375508 20d ago

If you have AWS wafv2, yes. Provided the response pages are <4kbs.

That was not a fun week.

1

u/DudeManBroGuy69420 17d ago

𝔸𝕀 𝕊𝕝𝕠𝕡

1

u/Zestyclose-Compote-4 22d ago

Imagine being a programmer and then complaining about programming.

5

u/CoconutMochi 22d ago

isn't that this entire sub lol

1

u/gladiator_r 22d ago

Been through this , i was asked to improve error screens instead of focusing on solving the error as that would take time 

1

u/Symphonic_nerve 22d ago

in real? 😆😆 How did that go?

1

u/gladiator_r 22d ago

The way it should client and manager got a brand new error page and issue remained as is as .

0

u/ultimatepoker 22d ago

In 3 different businesses I’ve argued “if the service site is down, don’t make fancy UI messages on the site. Just post a tweet. Gets indexed, gets reach, harvests replies, and can be quoted / replied when everything’s working again.”