12-27-2017, 09:08 AM | #1 |
Age improves with wine.
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Using content server via a proxy
I'm already running an SSL server and I've configured it to forward requests addressed to a specific domain name to my content server. I can now connect to my content server directly over the local net as http: //192.168.1.100:8080, or remotely as https: //www.foo.com. However, when I go via the proxy, it ignores all my sort/search criteria.
[NB: I'm deliberately putting a space after http: and https:, since otherwise they automatically get turned into links and the middle bit gets elided... there's probably a better way...] If I use http: //192.168.1.100:8080/#book_id=3120&library_id=Library&panel=book_list&s earch=authors:%22%3DLewis%20Carroll%22&sort=author _sort.asc the result is as shown in the attached image (local.jpg). If I use https: //www.foo.com/#book_id=3120&library_id=Library&panel=book_list&s earch=authors:%22%3DLewis%20Carroll%22&sort=author _sort.asc the result is as shown in the attached image (remote.jpg). All the proxy does is to forward all requests addressed to https: //www.foo.com/ to http: //127.0.0.1:8080, and forward the responses from the content server back to the user. I presume there's some clever Javascript that isn't making the leap from the SSL server to the Calibre content server... Any ideas what the problem is here, and what I can do about it? Last edited by Phssthpok; 12-27-2017 at 09:15 AM. |
12-27-2017, 10:06 PM | #2 |
creator of calibre
Posts: 44,756
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the server logs, the proxy logs and the console in the browser. One of those locations will tell you which requests your proxy server is not forwarding/mangling.
|
Tags |
content server, proxy |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
need help with reverse proxy server | novaris | Devices | 1 | 09-10-2012 01:22 PM |
Content server apache reverse proxy issue | bossanova808 | Calibre | 13 | 09-16-2011 10:38 AM |
Content Server with Apache Reverse Proxy | Caleb666 | Calibre | 1 | 08-29-2011 05:20 PM |
Content server, IIS proxy, and gzip compression | abrinton | Calibre | 9 | 04-08-2011 02:26 PM |
Setting up proxy server | pat.indie | enTourage Archive | 1 | 07-06-2010 01:01 AM |