Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api error when downloading m4b via mobile #16

Closed
davidszp opened this issue Oct 24, 2021 · 5 comments
Closed

api error when downloading m4b via mobile #16

davidszp opened this issue Oct 24, 2021 · 5 comments

Comments

@davidszp
Copy link

davidszp commented Oct 24, 2021

Trying to download an m4b for offline storage on Android yields the following api error for me on server version 1.5.1

"2021-10-24 22:35:06 ERROR Api called without a token /s/book/kv5s09g8//Gawande%20Atul%20-%20The%20Checklist%20Manifesto.%20How%20to%20Get%20Things%20Right%20-%202009.m4b"
@docfactory37
Copy link

docfactory37 commented Oct 25, 2021

Im also having the same issue when just trying to download via the Mobile App see error log below.

[2021-10-25T06:26:03.083Z]  INFO: === Starting Server ===,
[2021-10-25T06:26:03.083Z]  INFO: [Server] Init v1.5.1,
[2021-10-25T06:26:03.225Z]  INFO: [DB] 2 Users Loaded,
[2021-10-25T06:26:03.226Z]  INFO: [DB] 1 Libraries Loaded,
[2021-10-25T06:26:03.817Z]  INFO: [DB] 861 Audiobooks Loaded,
[2021-10-25T06:26:03.817Z]  INFO: [Db] Root user exists, pw: true,
[2021-10-25T06:26:03.818Z]  INFO: [BackupManager] 0 Backups Found,
[2021-10-25T06:26:03.818Z]  INFO: [BackupManager] Auto Backups are disabled,
[2021-10-25T06:26:03.818Z]  INFO: [Watcher] Initializing watcher for "Main"..,
[2021-10-25T06:26:03.842Z]  INFO: Running on http://0.0.0.0:80,
[2021-10-25T06:26:04.401Z]  INFO: [Watcher] "Main" Ready,
[2021-10-25T06:26:14.808Z]  INFO: Recieved ping,
[2021-10-25T06:26:14.894Z]  INFO: [SOCKET] Socket Connected token,
[2021-10-25T06:26:22.575Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20,
[2021-10-25T06:26:27.537Z] ERROR: Api called without a token /s/book/token/AIO_1-16%20-%20Jack%20Reacher/Jack%20Reacher%20Series%20,
[2021-10-25T06:26:41.791Z] ERROR: Api called without a token /s/book/token//BenedictCumberbatchReadsSherlockHolmes.mp3,
[2021-10-25T06:27:09.410Z]  INFO: [Server] Socket token disconnected from client "username" after 54516ms,
[2021-10-25T06:28:09.216Z]  INFO: [Server] User username is logging out with socket undefined,
[2021-10-25T06:28:15.029Z]  INFO: [SOCKET] Socket Connected token

If you look at when it is trying to downloads the mp3 file there is a double \ should this just be a \ ?

@advplyr advplyr transferred this issue from advplyr/audiobookshelf Oct 25, 2021
@advplyr
Copy link
Owner

advplyr commented Oct 25, 2021

This was only happening for single file downloads and the problem was the URL wasn't passing the user token to the server.
The update is deploying to the google play store now, should be available to update in an hour or 2.

@advplyr
Copy link
Owner

advplyr commented Oct 25, 2021

This is live v0.9.9-beta.
If you open the app hopefully it should let you know that an update is available. I forgot to test it out this time, if you happen to see that let me know.

@davidszp
Copy link
Author

I have installed the Android update and it successfully downloaded an audiobook for offline use. Thank you.

@docfactory37
Copy link

I have also updated and it is working now. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants