MacOS – Some websites do not load in all the browsers

firefoxgoogle-chromemacossafariwebsites

Some websites do not open in safari, firefox and google chrome. I have been trying for a few days now and it is always the same.

In safari, I get
"Safari can't open the page "xxx" because the server unexpectedly dropped connection. This sometimes occurs when the server is busy. Wait for a few minutes then try again."

In google chrome, I get "This site can’t be reached.
The web page at xxx might be temporarily down or it may have moved permanently to a new web address. ERR_RESPONSE_HEADERS_TRUNCATED"

In firefox, when I click on the URL from google or type in the URL of the website, I get this
enter image description here

I am not sure why it does this because the URL is not a document.

I am on MacOS big sur 11.1
Thanks!

Best Answer

Do you experience this problem on other devices? From your question, it is clear that you have tried different browsers but you did not specify whether other devices can display these websites or not.

In order for website to displayed properly, the server (website's end) needs to set appropriate HTTP headers. Here is a sample of what those headers may look like.

When the browser gets malformed headers, it will not know what exactly to do with the received information so it will try its best. What will happen exactly will depend on the browser's implementation. As you have noticed, different browsers respond differently to malformed http headers.

As a general rule, there are several things you can do to troubleshoot: