Hi,
I’ve recently done a couple of macOS updates (from Sonoma to Sequoia 15.1 and then 15.2) and have discovered that when I attempt to preview a website within Pinegrow desktop, I get a Safari (version 18.2) browser message as follows:
Safari can’t open the page “http://xxxxxxxxxxxx”. The error is: “Navigation failed because the request was for an HTTP URL with HTTPS-Only enabled” (WebKitErrorDomain:305). I don’t recall having this problem with macOS Sonoma.
I can go into Safara settings, click on the “Security” tab and then untick the box that says “Non-secure site connections. Warn before connecting to a website over HTTP”. This works but I’d prefer not to do this. I’ve tried changing the Internal Webserver Hostname in Pinegrow settings, adding https:// but this doesn’t work. I’ve also tried editing the BrowserSync URL, changing it to https://, but that doesn’t work either.
I’m still relatively new to Pinegrow so any help in sorting this out would be much appreciated. Thanks in advance.
Have you tried using Firefox instead of Safari? Firefox preferences allow you to turn off HTTPS-Only mode for specific sites. Add 127.0.0.1:40000 (or whatever you see in Safari URL) and it should work fine while enforcing HTTPS for everything else.
Hi @PeteSharp Thanks for your message. With Browsersync off, if I untick the warning about visiting URLs beginning with HTTP in Safari, then the Preview in Pinegrow works. With the warning box in Safari ticked, and Browsersync is off, then Preview doesn’t work and I get the message in my original post displayed. However, I’ve realised that there’s more to Browsersync than just switching it on and off in Pinegrow - there’s various installation instructions in “How to start Browsersync” that I’d need to follow. I’ve also tried making Chrome my default browser and with the default safe browsing settings applied, Preview works in Pinegrow.
Hi @GrumpyCoder Thanks for your message. I’ve tried making Chrome my default browser and, with the default safe browsing setting applied, I can click on Preview and it works. But I’ll take a look at Firefox too.