Following my previously reported issues with track skipping and/or not playing, I’ve reworked my network topology.
Not having symfonium connect through a reverse proxy helped greatly with the overall stability.
I use a livebox, which doesn’t support loopback.
I now connect directly to the media server, without hopping through a reverse proxy, with a local domain only reachable on this lan.
I’ve thought of using the secondary connection to fill in my publicly available domain (which works all in itself), but once I’m outside my lan symfonium still try to reach my locally available domain only and doesn’t fallback to the secondary connection.
My local domain is not a registered tld.
Am I using this feature wrongly or is there an issue there?
Logs:
Upload description: whinette
Additional information:
Reproduction steps:
Logged this:
launch app with wifi active
sync library
sync finish
deactivate wifi
turn off media lib
turn on media lib
sync library
observe media library is offline
Does your router support NAT reflection? Mine does, so I just use my domain as the only address in symfonium. When I’m on LAN, the router sees that the IP the domain points to is itsown and routes the traffic within the LAN without needing to go out to wan and come back.
My playback issues came back, so I checked around a bit and it looks like the secondary connection has persistence, even after killing symfonium or rebooting the phone.
It seems a bit moot?
I will try setting up two different provider, hopefully the queues are provider independant.
I expected to have the secondary connection tried only when the first connection is unreachable.
I suppose that code wise this may increase latency for all the calls, so that wouldn’t be proper at all.
Can this middle ground be acceptable? Switch back to primary connection when application is started. It falls back to secondary connection if primary connection isn’t available and keep it as is as far as the application stays in the app history / phone is restarted.
Or having a button in the provider to force switch between the two connection would also work for my usage.