Hacker News new | ask | show | jobs
by jevoten 884 days ago
Tangential, but Firefox's error message "Hmm. We’re having trouble finding that site. An error occurred during a connection to nitter.net." is so user-friendly it is useless.

Is the certificate invalid? Is the DNS record missing? Was the IP address found, but is returning malformed answers? Is it returning nothing at all? Can I even reach any DNS servers, or is my connection to the internet itself dead?

The browser isn't telling, not even behind a "show details" button. There's only "trouble" and "an error", and some patronizing anthropomorphism with the "Hmm."

2 comments

- Is the certificate invalid?

- Was the IP address found, but is returning malformed answers?

- Is it returning nothing at all?

Firefox returns "Your connection is not secure" for the first, and the raw data from the HTTP request for the others. (Or Secure Connection Failed for the second if you try to use HTTPS)

"We’re having trouble finding that site." is only ever given if the browser tries to do a DNS lookup and does not get an answer.

Having to first get an error message for every other error condition first, to find what this error is about by process of elimination, is not reasonable or informative.
“Finding” is dns. The rest of those scenarios mention connection issues