02-20-2022, 10:36 AM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
Allowing Anonymous local users to update library via http
I run my calibre web server behind a reverse proxy, with authentication done on the proxy so don't want to use calibre's username/password feature.
I am also running readarr on the same PC and when it tries to add books, it fails with Code:
HTTP Error - Res: [POST] http://192.168.0.15:13005/cdb/add-book/997033116/1/$dummy.epub/Calibre_Library: 403.Forbidden Anonymous users are not allowed to make changes I have tried enabling the options for allowing un-authenticated connections to make changes (see attached screenshot) but it makes no difference. I have seen the "--enable-local-write" option, but not sure how to specify this as calibre starts the web server automatically, although I had assumed that the un-authenticated parameters would do this for me. Anyone advise what I'm doing wrong? |
02-20-2022, 10:59 AM | #2 |
creator of calibre
Posts: 44,421
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
According to that the IP address you need to allow is 192.168.0.15
|
Advert | |
|
02-20-2022, 11:03 AM | #3 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
|
02-20-2022, 09:45 PM | #4 |
creator of calibre
Posts: 44,421
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the server logs it will tell you the actual ip address to use, since you are going through a proxy. And I suggest you get it working without a proxy first
|
02-22-2022, 03:23 PM | #5 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
The logs show that it is 192.168.0.15 and the API access is not going via the proxy (only external web access is routed that way).
If I tick the box to require a user name and password, the API calls work fine. As soon as I untick the box, the API calls stops working. |
Advert | |
|
02-22-2022, 03:33 PM | #6 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
So I have resolved it by specifying the IP address to listen on, rather than allowing it to auto-detect the interface.
|
Tags |
calibre-server |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Allowing access to WIFI but only to local network, not the web | Kindleschokolade | Kindle Developer's Corner | 5 | 01-11-2022 08:20 AM |
restrict library and view and changes for anonymous users? | badbob001 | Server | 3 | 07-23-2020 05:49 AM |
Help needed for iPad allowing users to write? | Karthiksugumar | Apple Devices | 5 | 07-17-2017 03:31 AM |
Overdrive Library allowing online signup? | portablejim | General Discussions | 25 | 09-21-2016 10:29 PM |