View Single Post
Old 09-03-2013, 02:50 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by bossanova808 View Post
I have calibre content server running as a reverse proxy behind Apache, and am using basic authentication on this server.

Generally I can get apps to connect to my server via something like:

Code:
https://user:password@servername.com:port/CA/
This works for all the usual suspects (sabnzbd, sickbeard, etc) - and works fine for Calibre too in general.

I have tried the 'full url' option and entering the above, but Calibre Companion won't connect.

I believe reverse proxies are in general ok - but what about those using basic auth? Any ideas on this one?

I thought I would post here first so that future searchers could benefit from the discussion as this is quite a common setup these days.
Basic auth works fine. What doesn't work is putting the credentials into the URL. Instead, connect using a URL without credentials and wait for CC to ask you for a username and password.

Or are you using a double-password scheme, where the proxy demands credential set one and calibre demands credential set two? This kind of scheme will be a problem. The solution: turn off authentication on calibre and trust the reverse proxy. Or vice versa.

Last edited by chaley; 09-03-2013 at 02:53 AM.
chaley is offline   Reply With Quote