Hi @JamO,
Here is a description of the error I’m experiencing.
When loading a matched .lua / .html pair via MIDI Guitar 3’s Lua Scripts → Browse function (from the default Lua folder in the Group Containers directory – aka MIDI Guitar 3 Data Folder), the HTML fails to open in Safari with the error:
“Not allowed to use restricted network port (WebKitErrorDomain:103)”
This issue appears only in Safari. The same files load correctly in Chrome and ChatGPT Atlas (if you change your defafult browser), though it opens two identical windows in Chrome for some reason.
However, if the identical .lua / .html pair is stored outside the Group Containers path (e.g. Desktop/My Lua) and the .lua file is dragged directly onto a module slot, the web app launches correctly in Safari and continues to work after saving/reloading the preset in MG3.
Additional notes:
- The WebSocket connection uses
ws://127.0.0.1:8080(non-restricted port) - The issue occurs even with a completely blank
.htmlfile
This suggests the issue may be related to how MIDI Guitar 3 resolves or launches HTML files from its sandboxed Lua folder when using the built-in browser, specifically under Safari/WebKit.
I hope this helps to diagnose the issue. I can provide a demonstration video if it would be helpful.