View Single Post
Old 07-24-2017, 09:50 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,190
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by twinkybot View Post
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/
https://manual.calibre-ebook.com/ser...-other-servers

Quote:
If you have setup SSL for your main server, you should tell the calibre server to use basic authentication instead of digest authentication, as it is faster. To do so, pass the --auth-mode=basic option to calibre-server.]
bernie

Last edited by BetterRed; 07-24-2017 at 10:10 PM.
gbm is offline   Reply With Quote