Non-Authoritative-Reason header field [HTTP]

The server you are trying to connect with uses strict-transport-security (HSTS) to ensure https only is used with this site rather than the default http.

This means if you enter http://www.servername.com then Chrome will automatically convert this to https://www.servername.com.

This is a security feature to prevent use of http, which is unencrypted and which can be read and altered by a hacker. This can be set by the server telling Chrome (via a special HTTP Header sent in response to requests) that it uses HSTS. This setting is then cached by Chrome for the given amount of time as defined in the max-age value in that header. Additionally the site owner can submit their site to a preload list that is automatically included in Chrome – which protects even the first visit as normally you need to visit the site to receive the header to activate this.

The way Chrome shows this in the network tab is by creating a dummy 307 response with a redirect to the https version of the address. But that’s a fake response and is not generated by the server – the reality is Chrome did that internally before the request even went to the server.

To clear this setting for a site you can type the following into Chrome’s URL field: chrome://net-internals/#hsts and then search for your site and delete it. You may also set this at a top level domain and include subdomains so you may need to delete from there. Alternatively you can just alter your server config to publish the header with a max-age of 0 and revisit the site to clear this, then stop publishing the header, which can be helpful for other browsers where it’s not quite as easy to clear this.

Note you cannot clear this setting if a site is on the preload list as this is embedded in the web browser’s code. The site owner can submit a request to be removed from the preload list but this takes several months to go through the release cycle for Chrome and no defined timeline for other browsers. Chrome also provides no way to override preloaded settings – for security reasons.

Leave a Comment