Originally created by @valdearg on GitHub (Jul 19, 2024).
What was the Problem?
After having the ABS app open, when I playback the video sometimes it stops syncing the history with the server. Selecting the History for the book will give the time syncs as an error.
Checking the server logs, I'm not actually seeing these responses logged in the DEBUG log.
You can see in the above screenshot the error icons. I was wondering if it might be possible to either make the error icon so that when you tap on the icon, it provides an error message.
The most recent successful sync there happens when I close down the app and re-open the the audiobook.
This however leads to a bit of a weird situation where it syncs up and gives the incorrect time listened. The actual amount history point however is correct:
I'd be impressed if I managed to listen to 94 hours!
Steps to Reproduce the Issue
I'm currently trying to replicate this on a more reliable basis, with this being intermittent I don't always notice it. I'm wondering if it might be either:
Resuming the audiobook when in Android Auto.
Something with my nginx website publishing?
Some token expiring?
What was Expected?
Sync each time
Phone Model
Samsung Galaxy S23 Ultra
Phone OS
Android 14
Audiobookshelf App Version
Android App - 0.9.74
Installation Source
Google Play Store
Additional Notes
No response
Originally created by @valdearg on GitHub (Jul 19, 2024).
### What was the Problem?
After having the ABS app open, when I playback the video sometimes it stops syncing the history with the server. Selecting the History for the book will give the time syncs as an error.
Checking the server logs, I'm not actually seeing these responses logged in the DEBUG log.

You can see in the above screenshot the error icons. I was wondering if it might be possible to either make the error icon so that when you tap on the icon, it provides an error message.
The most recent successful sync there happens when I close down the app and re-open the the audiobook.
This however leads to a bit of a weird situation where it syncs up and gives the incorrect time listened. The actual amount history point however is correct:

I'd be impressed if I managed to listen to 94 hours!
### Steps to Reproduce the Issue
I'm currently trying to replicate this on a more reliable basis, with this being intermittent I don't always notice it. I'm wondering if it might be either:
1. Resuming the audiobook when in Android Auto.
2. Something with my nginx website publishing?
3. Some token expiring?
### What was Expected?
Sync each time
### Phone Model
Samsung Galaxy S23 Ultra
### Phone OS
Android 14
### Audiobookshelf App Version
Android App - 0.9.74
### Installation Source
Google Play Store
### Additional Notes
_No response_
The error is "the sync didn't go through", so for some reason the server was not reachable (could be poor signal, something is up with the reverse proxy, websocket is closing, etc). If you are listening in offline mode then there is no cloud. There is a PR currently open to help with reporting on the history page, because only the most recent sync status is shown for all of the sequential "Save" icons (there could be 99 good syncs and then 1 bad sync, making you think all 100 syncs were bad). https://github.com/advplyr/audiobookshelf-app/pull/1257
@nichwall commented on GitHub (Jul 19, 2024):
The error is "the sync didn't go through", so for some reason the server was not reachable (could be poor signal, something is up with the reverse proxy, websocket is closing, etc). If you are listening in offline mode then there is no cloud. There is a PR currently open to help with reporting on the history page, because only the most recent sync status is shown for all of the sequential "Save" icons (there could be 99 good syncs and then 1 bad sync, making you think all 100 syncs were bad). https://github.com/advplyr/audiobookshelf-app/pull/1257
Reopening the app forces a sync with the server.
Listening sessions are planned to be reworked (how long you were listening), but not sure on a timetable for that. It has been discussed more in Discord, but a few related issues:
https://github.com/advplyr/audiobookshelf# /issues/2548
https://github.com/advplyr/audiobookshelf/issues/2565
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @valdearg on GitHub (Jul 19, 2024).
What was the Problem?
After having the ABS app open, when I playback the video sometimes it stops syncing the history with the server. Selecting the History for the book will give the time syncs as an error.
Checking the server logs, I'm not actually seeing these responses logged in the DEBUG log.
You can see in the above screenshot the error icons. I was wondering if it might be possible to either make the error icon so that when you tap on the icon, it provides an error message.
The most recent successful sync there happens when I close down the app and re-open the the audiobook.
This however leads to a bit of a weird situation where it syncs up and gives the incorrect time listened. The actual amount history point however is correct:
I'd be impressed if I managed to listen to 94 hours!
Steps to Reproduce the Issue
I'm currently trying to replicate this on a more reliable basis, with this being intermittent I don't always notice it. I'm wondering if it might be either:
What was Expected?
Sync each time
Phone Model
Samsung Galaxy S23 Ultra
Phone OS
Android 14
Audiobookshelf App Version
Android App - 0.9.74
Installation Source
Google Play Store
Additional Notes
No response
@nichwall commented on GitHub (Jul 19, 2024):
The error is "the sync didn't go through", so for some reason the server was not reachable (could be poor signal, something is up with the reverse proxy, websocket is closing, etc). If you are listening in offline mode then there is no cloud. There is a PR currently open to help with reporting on the history page, because only the most recent sync status is shown for all of the sequential "Save" icons (there could be 99 good syncs and then 1 bad sync, making you think all 100 syncs were bad). https://github.com/advplyr/audiobookshelf-app/pull/1257
Reopening the app forces a sync with the server.
Listening sessions are planned to be reworked (how long you were listening), but not sure on a timetable for that. It has been discussed more in Discord, but a few related issues:
https://github.com/advplyr/audiobookshelf# /issues/2548
https://github.com/advplyr/audiobookshelf/issues/2565
@valdearg commented on GitHub (Jul 21, 2024):
Yeah, like I said, that much is obvious but saying why would be really helpful for diagnosing the issue.