Friday, July 26, 2024

The dreaded 502 error is a digital publisher’s worst nightmare

In the old days the worst that ever happened was the press would break down. But the press crew would go to work, fix the problem and get it rolling again, usually in a matter of hours, or less.

It was mechanical, and simple.

These days, we’ve got things like 502 errors to deal with. They are generated when a connection to a website cannot be made, usually due to an overloaded web server.

So the techs and engineers go to work and if we’re lucky the problem is quickly resolved. If not, several days can elapse before the problem has been identified.

It’s technical, and not always simple.

But in the meantime, thousands of Mexico News Daily readers — in our case 2,409 over the course of five days — can be affected.

The number of readers who were locked out was only 1.28% of the total readership during that period, but enough to keep a publisher awake at night wondering when the nightmare would end.

What made the issue even more worrisome was the phone call that came last week from a guy who said, in very broken English, that he was a hacker and had hacked Mexico News Daily.

Oh, sure, I thought as I looked at a monitor that indicated there were 450 readers on our site at that moment. You’re not much of a hacker, I said to myself, brushed him off and hung up.

The next day 585 readers encountered the dreaded 502 error message and could not read the news.

From Thursday through Sunday we employed all kinds of measures to reduce website load, but not until Sunday night did we begin to see any improvement. By Monday afternoon, as of this writing, there had not been a single 502 for nine hours.

Were we hacked? It appears unlikely, but I’m not going to declare either way.

Just so you know, if you see the 502 error there are two choices: wait a day or two, perhaps longer, and it will likely resolve itself.

Or you can do this: go through the following steps, advancing one by one until the problem is resolved. First refresh the page; then close all browser windows, open a new one and go back to Mexico News Daily; then clear the browser cache; then clear cookies; then restart the computer. I found clearing cookies did it for me, so you could always do that first. But start with the others if you would prefer not to delete cookies.

It pains me to have to ask a reader to go through all that to correct a problem that we created. But that is the nature of the error. The page has been cached by your device, or another server between us and you, and we’re stuck with a bad situation all around.

Although everything is running smoothly at the moment, the big test will come this evening when we send 50,000 email newsletters to the subscribers of two mailing lists.

My stomach roils at the thought that the nightmare is not over.

But I’ll still take a web server over a press any day.

The writer is publisher and editor of Mexico News Daily.

Have something to say? Paid Subscribers get all access to make & read comments.
Pedro Casas Alatriste, CEO of AmCham

5 questions about the elections aftermath with Pedro Casas, CEO of AmCham

0
The peso, the court, the cabinet — what's next? Pedro Casas of AmCham breaks down the flurry of political and business headlines since Mexico's elections.
Valeria Moy head shot

Opinion: What would a USMCA review look like for Mexico if Trump wins?

0
Valeria Moy, an economist and director of IMCO think tank, tackles this question and the pitfalls Mexico could face in upcoming trade negotiations.
Lila Abed, director of the Mexico Institute and expert in Mexico-U.S. relations, speaks on stage at a Wilson Center event.

5 questions about Mexico-US relations with Mexico Institute Director Lila Abed

0
Lila Abed dives into some of the toughest questions facing Mexico and the United States, as both countries prepare for major presidential transitions.