Out of curiosity. Sometimes when a client connects to OSC i'll get an error stating image not loaded or not found. I use the code below for icons where an images folder exists on my pc containing all the icons. This also happens for html files or potentially files in general. The clients could be a mobile device or web browser, which for some reason returns an error. Is this normal or am I doing something wrong?
I think it's actually for different clients? I may be forgetting which clients but im fairly certain this happens for mobile and web. In this case it only happens on a chrome browser. I have a switch that swaps out 3 different panels with various images.
What's strange to me is that it does this once and then stops, and the images are loaded and buttons working as they should.
In the past this lead to certain widgets not working like a frame widget with a linked html file specifically. And the images folder is in the same location as my session file, not the open stage control installation, which may or may not be my issue.
I recently looked into custom builds of OSC and forgot to change the version before building so I presume v1.26.1 might be broken for me due to cache. However the issue seems to persist even in v1.26.0. It's strange because the icons appear and the buttons still work but it errors out every time a client connects. I suspect its an issue with how my css is setup because when using the same exact code, with a b64 image instead, no errors are produced.
Hi all
I noticed the same behavior and error messages since a few releases now. I just didn't give it too much attention ...
Sometimes all images are missing, sometimes just a few like.
This is how buttons with images look like when the error occurs:
And this is how it should look like:
By the way: When opening a window from the server application, the images show correctly.
I thought it had to do with autostart, but I just checked and dunno.
It typically (almost always) appears when I open the ip address using a shortcut (widget) from the home screen of my iPad (my prefered way of opening the page). But I also remember it happening when using other options. Currently I can't get the Error to appear when using QR-Code or manual typing of the address.
Let me know when you need further testing!
Sorry for the late response. I did nitially see the error when I first loaded the project using local host as my send address but then using my computer's IP I no longer got the errors, but that makes sense I think?
v1.26.2 seems to have fixed my issue but I wont mark it as solved since Composer seems to have issues still.
The error always and only appears using this technique (explained here)
What I also noticed is that when I just press the Share button, OSC prints the following error:
As it turns out, safari on iOS does not pass cookies correctly when the app is accessed via a home screen link. The osc server relies on cookies to differentiate files requests from different clients and I don't see how to solve this at the moment. Moreover I read that iOS will drop support for home screen links in v17.4...