View Single Post
Old 07-24-2017, 04:06 PM   #1
twinkybot
Member
twinkybot began at the beginning.
 
twinkybot's Avatar
 
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/
twinkybot is offline   Reply With Quote