Playback restarts randomly (happens frequently)

Issue description:

Hello,

Very frequently (few times a day generally), playback from my Plex backend “stops”, and song restarts playing (or skips to the next sometimes).
I have sent debug logs from the app under my “tarkil” username.

Let me know if there’s any other information I can provide, and thank you very much in advance for your help.

Kind regards,
Tarkil

Logs:

Upload description: tarkil

Additional information:

 
It has happened several times in the past 5 minutes fyi.
I think it might be related to network issues, as I’m streaming over 4g network, but I would expect buffering, not cutting and restarting song. But I’m not sure if that’s the issue or not
 

Reproduction steps:

 

 

Media provider:

Plex

Screenshots:

     

Do you use some kind of proxy or VPN or tunnel or whatever to connect?

Seems at some point all the connection pool is invalid due to closing server side.

Hi Tolriq,

Yes indeed, I use a vpn to connect into my home network.

You might want to check it’s settings about timeouts and things like to maybe increase them.

I’ll add some better recovery for that specific case, but not sure it will be enough if the VPN actually block things.

Hi Tolriq, sorry I was traveling this past couple of days.
Thanks for your message.

I have doubled the value from 1 to 2 minutes. I’ll see if it makes a difference.
In case you have any other guidance for me, don’t hesitate, or if you want me to test a specific version with extra logging, or anything that might help.

In any case, thank you very much, much appreciated!