I have a subsonic server registered on the app. I am able to play and cache music. When on mobile data, even with a good connection with the server, when I try to play a cached álbum, I get the error “Error playing media, ensure that your player supports it”.
Not sure what could be causing this.
Alongside the post, I’m attaching a log file and a screen recording.
Well I don’t know what you use that triggers that the logs don’t tell.
But the Symfonium webserver does not return error 504, and the consumer does not return error 504 either.
So the error : Response code: 504 is returned by something else and it’s the cause of the issue. Symfonium can’t access itself on the loopback interface.
Uninstalled OpenVPN but nothing changed. Other than that this is a clean installed ROM. I took the opportunity to share this issue now since it remained after a clean install of a new ROM. Thought it was something messed up with the old one.
I can’t tell you much more that what I just explained.
Something on your device intercept the data on the loopback interface and causes this.
VPN, exposed module, adblock, DNS stuff I don’t know and can’t know.
All I know is that this is something outside Symfonium and that it’s normally not possible.
On mobile or on Wifi Symfonium do use the loopback interface to communicate (127.0.0.1)
The fact that it’s an issue only on mobile further implies that there’s something specific in that case.
You have your answer when in mobile mode something intercept the loopback, this is not a normal / default behavior on Android.
There’s not much I can do here
This might be something related to magisk. Disabled everything (zygisk, systemless hosts, etc) and symfonium started working properly.
Edit: maybe not. It was working because my phone connected to my local wifi (where my subsonic server is being hosted). When I changed to mobile data it stopped working again.
Unless you have enabled transcoding for download and the option prefer server version being on same Wifi as your server have nothing to do with the issue you could be connected to any wifi it would be the same.
For next version I’ll try to less rely on internal webserver when playing from the cache, this will make the renderer transition to remote players a little slower but not a lot, and this is not really the main use case.