Start a new topic

HTTP access

I have several OpenEVSEs running:-


OpenEVSE: 8.2.2 EU

WiFi: v5.1.2


Until recently, using Safari in Monterey on a Mac I had no trouble accessing the EVSEs. I was also able to use the Fluid app to create an individual 'app' for each EVSE (actually it's just Safari wrapped up as an app to access a specific URL).


I've recently changed to a new Mac running Sequoia and Fluid no longer works. However, Safari now has that ability built-in so I replaced all my Fluid apps with Safari's own version and they mostly work better than before. Except for my OpenEVSEs.


If I run one of the EVSE apps, the window opens and the logo with small progress bar is displayed, but then the window is blank (just default green background). No matter how many times I redraw the page or restart the app, same problem.


If I try and open the same URL in Safari itself, it results in the following error:- 


image


The URL is correct and fully resolvable on the LAN, otherwise it would never work.


In its own 'app' though, if on that blank page I open Preferences, 'Clear Website data…' and then redraw the page, the logo and progress bar appears again, but it then proceeds to correctly load the site and works perfectly. Until the next time I try to run it.


So I think the problem is the same in Safari itself or an associated app and even Chrome can have problems. Something the EVSE website is doing can prevent it being correctly loaded the next time, unless some website data (cookies?) are deleted.


This is not a showstopper, but it's annoying when previously it was so simple to access any of my OpenEVSEs. Now it's something of a PIA.


Since the same firmware worked without issue in Monterey, but not now in Sequoia, this latest version of Safari must be doing something different that is causing OpenEVSE to misbehave and I think it needs looking into and fixing.



I am not sure the new version Safari is "causing OpenEVSE to misbehave" of if there is a bug in Safari that apple will fix.


Either way I have created an issue on the OpenEVSE GUI github page.

https://github.com/OpenEVSE/openevse-gui-v2/issues/209

Well for sure, Apple is not above making bad errors, but in this case, it is an error that only seems to affect the OpenEVSE webserver which rather suggests it is an OpenEVSE problem.


In any case, no other websites that I have accessed with this version of Safari exhibit the error. So even if it is some 'inconvenient' code Apple have introduced in Safari, it is clearly possible for a website to avoid the problem. Hence I am of the opinion that it is something OpenEVSE needs to address rather than expecting Apple to re-code their app to suit OpenEVSE which appears to be the only webserver with this particular problem. Or are there others?


I will continue to follow it up on github.

Summery from  https://github.com/OpenEVSE/openevse-gui-v2/issues/209 


This is a common problem documented all over the internet on numerous sites. It only seems to affect Safari on MacOS. On Windows Chrome, Edge, Safari and Firefox all work fine.


The current workaround is  Reload from Origin (⌥ ⌘ R (Option-Command-R) in Safari or a web app- but you need to do that every time you access the OpenEVSE portal. 

Another workaround option:  Open a Private Browsing window to the OpenEVSE. This causes the page cache to be cleared on each new session. This works on iOS devices such as iPhones, and iPads. It probably works with Macs as well -- not sure if it is easier than the "Reload from Origin" but it works on the iPhone at least.

Login or Signup to post a comment