calibre server not working behind proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
New
|
Undecided
|
Unassigned |
Bug Description
After updating to Calibre 3.0.0, the new calibre-server component is no longer working behind my apache proxy.
Here is the command I'm using to start the server:
/opt/calibre/
And here is the message that shows up in my browser:
Failed to communicate with "interface-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 404 Not Found
Not Found
The requested URL /interface-
Here is the output from my calibre-log.txt:
Unhandled exception in state: State: _job_done Client: 127.0.0.1:52440 Request: GET /books/
Traceback (most recent call last):
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "src/cursor.c", line 236, in resetcursor
ReadOnlyError: ReadOnlyError: attempt to write a readonly database
And some relevant info from Apache:
10.0.5.2 - - [22/Jun/
10.0.5.2 - - [22/Jun/
10.0.5.2 - - [22/Jun/
10.0.5.2 - - [22/Jun/
These are the relevant portions from my Apache configuration file:
# Specific proxy settings for Calibre's server
RewriteEngine on
RewriteRule ^/books/(.*) http://
RewriteRule ^/books http://
SetEnv force-proxy-
SetEnv proxy-nokeepalive 1
Upgraded to 3.1.1 this morning (seeing all the content server fixes) however I'm still having the same issue.