![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Tolino Vision 2
|
Redirection with Apache and errors
Hello,
I have an Ubuntu 16.04 system with Apache. All traffic is redirected to https. When I call the URL for Calibre without the port Then I am getting the following error: Unhandled exception in state: State: do_ssl_handshake Client: 127.0.0.1:45278 Request: WebSocketConnection Traceback (most recent call last): File "site-packages/calibre/srv/loop.py", line 565, in tick File "site-packages/calibre/srv/loop.py", line 177, in do_ssl_handshake SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:590) Could anyone give me some hints what is happening? My ssl conf (which is working for other services) AllowEncodedSlashes On RewriteEngine on #RewriteRule ^/calibre/(.*) http://localhost:<PORT>/calibre/$1 [proxy] RewriteRule ^/calibre/(.*) http://localhost:<PORT>/$1 [proxy] RewriteRule ^/calibre http://localhost:<PORT>/ [proxy] #RedirectMatch permanent ^/calibre$ /calibre/ |
![]() |
![]() |
![]() |
#2 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,178
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Quote:
Last edited by BetterRed; 07-24-2017 at 10:10 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you use apache then you should terminate your SSL connection on apache and have the calibre server listen via plain http. And enable basic auth, as gbm pointed out.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problematic uri, containing a redirection | atlantique | Recipes | 4 | 05-03-2012 01:02 AM |