You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi 👋
I’m running Booklore via LXC on Proxmox created with the Community Scripts installer and ran into an issue with Kobo sync not working (401 Unauthorized).
After debugging with the AI, I found that the nginx reverse proxy on port 6060 does not forward the Authorization header to the backend.
Kobo uses a Bearer token for /api/kobo/*, and without this header Booklore always rejects the request.
Fix: add the following line to the nginx config inside the location /api/ {} block:
proxy_set_header Authorization $http_authorization;
File affected (in my case):
/etc/nginx/nginx.conf
After reloading nginx, Kobo sync worked.
Might be worth adding this to the Booklore LXC install script to avoid confusion for future users.
Happy to provide more details if needed 👍
Can someone do his magic as MR or template/issue or whatever the flow of approval is correct for this project?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
I’m running Booklore via LXC on Proxmox created with the Community Scripts installer and ran into an issue with Kobo sync not working (401 Unauthorized).
After debugging with the AI, I found that the nginx reverse proxy on port 6060 does not forward the Authorization header to the backend.
Kobo uses a Bearer token for /api/kobo/*, and without this header Booklore always rejects the request.
Fix: add the following line to the nginx config inside the location /api/ {} block:
proxy_set_header Authorization $http_authorization;
File affected (in my case):
/etc/nginx/nginx.conf
After reloading nginx, Kobo sync worked.
Might be worth adding this to the Booklore LXC install script to avoid confusion for future users.
Happy to provide more details if needed 👍
Can someone do his magic as MR or template/issue or whatever the flow of approval is correct for this project?
Beta Was this translation helpful? Give feedback.
All reactions