![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle Paperwhite
|
![]() ![]() All servers run in docker containers on an Ubuntu 23.10 (mantic) host and nginx version 1.24.0-1ubuntu1, and are cleanly accessible from the internal network with no problems without the proxy...the host they run on is not using a firewall at this time (the router is, of course). With ports 443, 8080, 8081, and 8181 open on the router (the latter 3 opened during debugging, probably unnecessary) I get to the server, but I get a KasmVNC error: (domain name blacked out for privacy) ![]() Here's my basic nginx configuration for this subdomain, based on the Calibre documentation, but with SSL configuration added: ![]() The Chrome developer tools show the following: ![]() I don't know if this is a red herring or if there's websocket configuration I need to add (that is not mentioned in the documentation though), but that would be new to me, so i could use some assistance if so. I suspect this may be the issue, since trying Calibre 6.x and 5.x versions give similar errors. I was able to set up the proxy to forward to the content server instead (port 8081), but that's not the interface I'm looking for. I use Calibre-web for that functionality, and am looking for the main Calibre UI for full remote library maintenance when on the go Thanks for any ideas, and let me know if more information is needed. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,263
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have no idea what that is. There is no main.bundle.js in the calibre content server.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle Paperwhite
|
I was right...it was the websockets. I needed to add the following to the location block for my nginx virtual server:
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2024
Device: Kobo Libra
|
Dead post but commenting to say I was having the same problem and this was the solution.
I did not seem to need 2 of the directives mentioned and it worked fine with only proxy_set_header Upgrade $http_upgrade; I could remove the following 2 and still load calibre fine: proxy_http_version 1.1; proxy_set_header Connection $http_connection; This was using lscr.io/linuxserver/calibre and I just used NGINX 1.18 from the default ubuntu repo (on ubuntu focal) Cheers HuckinFappy |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2020
Device: Kobo Clara HD
|
Adding that I further needed to change the KasmVNC settings (in the web UI where the error is) so that the "websocket path" value was "calibre/websockify" (i.e. prepending my nginx proxy path) instead of the default value "websockify". Otherwise the web GUI was trying to connect to domain.com/websockify instead of domain.com/calibre/websockify.
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2024
Device: kindle paperwhite
|
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,882
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not sure if posting in a thread where the last post from 2023 was on 2023-Dec-31 qualifies as necro posting. And the posts you are complaining about were from a poster on 2024-Apr-26 who found the contents of the thread helped solve their problem and another poster further commenting on changes they made for fix the same issue on 2024-May-09.
|
![]() |
![]() |
![]() |
Tags |
https, kasmvnc, nginx, proxy, ubuntu 23.10 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre http to https nginx reverse proxy issue | vinuabe4 | Server | 2 | 01-20-2020 08:01 AM |
Need help: Using NGINX as reverse-proxy for Calibre | haertig | Related Tools | 5 | 11-18-2017 08:54 PM |
Calibre-server reverse proxy issues | dom134 | Related Tools | 12 | 05-30-2016 04:39 PM |
Nginx Calibre Proxy | Ackis | Calibre | 2 | 04-19-2016 01:48 PM |
Aldiko + Calibre-Server + Reverse Proxy | dummkauf | Related Tools | 4 | 02-02-2016 02:55 PM |