osx - My specific installation of Safari refuses to open my website -


my copy of safari refuses open website, example.com.

every time try , visit http://example.com safari (not server!) redirects me https://example.com, , tells me:

"safari can't open page "https://example.com" because safari can't connect server "example.com".

  • the site not have https enabled or certificate installed (though once did)
  • the site works in chrome
  • the site works in ios safari
  • the site works in safari on different computer

it seems copy of safari has 'cached' https redirect or something.

here have tried:

  • clearing safari cache
  • disabling safari cache
  • clearing os x dns cache
  • system reboots
  • intentionally accessing https version
  • intentionally accessing http version
  • appending random query strings

but still every time instantly message. appears in matter of milliseconds making me assume it's cached somewhere.

when trying on guest account, problem goes away. however, both mac @ home , @ work affected, presumably because icloud syncing kind of safari cache file.

this thread here seems hint hsts (as @rluta has thought), or alternatively strict-transport-security headers being set. have confirmed , no strict-transport-security headers being set when webpage accessed.

if @ possible don't want have "reset" copy of safari use day day. ideas?

since site used support https, have cached hsts entry directs safari use https connect site.

you can purge hsts settings in safari this:

  • close safari
  • delete ~/library/cookies/hsts.plist file on disk (or edit file , remove site entry if want preserve other entries)
  • reopen safari

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -