# Playback keeps restarting

**URL:** <http://support.symfonium.app/t/playback-keeps-restarting/2783>\
**Category:** Support\
**Tags:** handled\
**Created:** [November 12, 2023, 5:43pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783 "2023-11-12T17:43:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![radicalalpaca](http://support.symfonium.app/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@radicalalpaca](http://support.symfonium.app/u/radicalalpaca)\
**Post date:** [November 12, 2023, 5:43pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/1 "2023-11-12T17:43:12Z")

</div>

## Issue description:

Songs keep abruptly restarting. They’ll stop part way through the song and just restart from the beginning. This is isn’t happening on every track I’m listening to, but seems to happen for specific tracks (as in, if a track restarts, it’ll restart every time I listen to it at roughly the same time).

I’ve tried disabling transcoding, disabling Upnp gapless, disabling the Samsung background battery optimisation crap with no luck. I’ve also tried streaming the same tracks from the same server using Symfonium on a different device and had no issues.

The only error I can see in the logs is below, but google leads me nowhere.

```auto
2023-11-12 15:30:29.668 Error/ExoPlayer: internalError [eventTime=57716.79, mediaPos=343.43, window=0, period=0, loadError
  t3.x: rt.f0: stream was reset: PROTOCOL_ERROR
      at v3.c.p(Unknown Source:55)
      at cd.d.p(Unknown Source:2)
      at t3.n.p(Unknown Source:5)
      at cd.b.p(Unknown Source:2)
      at t3.e0.p(Unknown Source:2)
      at n4.m.r(Unknown Source:10)
      at n4.m.p(Unknown Source:27)
      at i4.q0.e(Unknown Source:23)
      at d5.d.k(Unknown Source:1085)
      at i4.g0.i(Unknown Source:218)
      at l4.l.run(Unknown Source:36)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
      at java.lang.Thread.run(Thread.java:1012)
  Caused by: rt.f0: stream was reset: PROTOCOL_ERROR
      at rt.y.R(Unknown Source:38)
      at ot.c.R(Unknown Source:10)
      at np.a.read(SourceFile:13)
      at v3.c.p(Unknown Source:34)
      ... 13 more
]

```

## Logs:

[debug-20231112\_153243.zip](http://support.symfonium.app/uploads/short-url/zIwKjyB0op5Qw7xaiuMLRHuB7PP.zip) (8.5 KB)

## Technical Details:

Symfonium: 6.0.0-1148 Android: 13 - 33 [arm64-v8a,armeabi-v7a,armeabi]  
Device: samsung - SM-A346B [a34xeea - a34x]

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [November 12, 2023, 6:51pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/2 "2023-11-12T18:51:59Z")

</div>

This kind of error is http 2/0 so usually caused by the proxy.

The logs are not complete I do not see the start of the playback but Gonic … So it does transcode if you enable transcoding on server side even if i do not ask for it.

---

<div class="post-metadata">

**Author:** ![radicalalpaca](http://support.symfonium.app/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@radicalalpaca](http://support.symfonium.app/u/radicalalpaca)\
**Post date:** [November 12, 2023, 11:01pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/3 "2023-11-12T23:01:45Z")

</div>

More detailed logs here

[debug.log](http://support.symfonium.app/uploads/short-url/fZNL5BDmW4sd5SI98BjSCehudsV.log) (970.4 KB)

The device which is failing is connecting to my gonic server over the internet, so a proxy error sounds reasonable. I’m using HAproxy/acme and cloudflare for my DNS if this is relevant. Where can I find more information on the error?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [November 13, 2023, 7:29am UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/4 "2023-11-13T07:29:00Z")

</div>

Seems there’s no transcoding but you are downloading at the same time when it fails.

You can enable the option slower downloads in the settings to avoid using http 2/0 for downloads, on some bad proxy this helps as use less http 2/0 connection.

The other case is often that you need to increase buffers and timeouts in the proxy configuration, I think there’s posts here about that from users you can find.

---

<div class="post-metadata">

**Author:** ![radicalalpaca](http://support.symfonium.app/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@radicalalpaca](http://support.symfonium.app/u/radicalalpaca)\
**Post date:** [November 13, 2023, 12:18pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/5 "2023-11-13T12:18:08Z")

</div>

Thanks, I’ve increased the timeouts and buffers for the frontend and will test that out soon.

As for transcoding, under details I’m seeing Mime type mp3 at 320kbps, and when downloading through symfonium they’re being saved as .flac with mp3 codec. Is there an issue with my gonic setup?

```auto
version: "2.4"
services:
  gonic:
    image: sentriz/gonic:latest
    environment:
      TZ: Etc/UTC
    ports:
      - 4747:80
    volumes:
      - /home/REDACTED/.config/appdata/gonic/data:/data # gonic db etc
      - /mnt/storage/medialibrary/music:/music:ro # your music
      - /mnt/storage/medialibrary/podcasts:/podcasts # your podcasts
      - /mnt/storage/medialibrary/playlists:/playlists # your playlists
      - /home/REDACTED/.config/appdata/gonic/cache:/cache # transcode / covers / etc cache dir

```

Maybe an issue with Ffmpeg?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [November 13, 2023, 12:30pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/6 "2023-11-13T12:30:43Z")

</div>

Gonic currently have a very personal way to handle transcoding.

If you enable server side it force transcoding in all cases, all the clients can do is request lower bitrate but 0 control over format and can’t disable it …

---

<div class="post-metadata">

**Author:** ![pwilder](http://support.symfonium.app/letter_avatar_proxy/v4/letter/p/58956e/32.png) [@pwilder](http://support.symfonium.app/u/pwilder)\
**Post date:** [November 10, 2025, 7:44pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/7 "2025-11-10T19:44:06Z")

</div>

I’m experiencing the same issue as the user mentioned above — random songs keep restarting during playback.

I’ve already sent my debug log.

My setup:  
• Android 15 on my phone  
• Airsonic-Advanced v11.1.4 (accessed through Cloudflared)  
• Transcoding is disabled

I’m currently in the trial period but really interested in purchasing the app.  
Could you please help me troubleshoot this problem?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [November 10, 2025, 7:47pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/8 "2025-11-10T19:47:09Z")

</div>

Don’t post on random closed issues, open your own.  
Your issue looks similar so the solution is probably similar, increase the timeouts.

---

<div class="post-metadata">

**Author:** ![pwilder](http://support.symfonium.app/letter_avatar_proxy/v4/letter/p/58956e/32.png) [@pwilder](http://support.symfonium.app/u/pwilder)\
**Post date:** [November 11, 2025, 1:56pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/9 "2025-11-11T13:56:38Z")

</div>

Sorry for that. I have increased the timeouts as you suggest but my trial period has expired. How can I test it?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [November 11, 2025, 2:27pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/10 "2025-11-11T14:27:53Z")

</div>

Each time you reinstall you have 1 day of trial.

---

<div class="post-metadata">

**Author:** ![pwilder](http://support.symfonium.app/letter_avatar_proxy/v4/letter/p/58956e/32.png) [@pwilder](http://support.symfonium.app/u/pwilder)\
**Post date:** [November 11, 2025, 2:41pm UTC](http://support.symfonium.app/t/playback-keeps-restarting/2783/11 "2025-11-11T14:41:46Z")

</div>

Thanks, I will try then
