Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2017, 08:08 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
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?
Attached Thumbnails
Click image for larger version

Name:	local.jpg
Views:	422
Size:	48.7 KB
ID:	160986   Click image for larger version

Name:	remote.jpg
Views:	400
Size:	26.7 KB
ID:	160987  

Last edited by Phssthpok; 12-27-2017 at 08:15 AM.
Phssthpok is offline   Reply With Quote
Old 12-27-2017, 09:06 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Reply

Tags
content server, proxy


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with reverse proxy server novaris Devices 1 09-10-2012 12:22 PM
Content server apache reverse proxy issue bossanova808 Calibre 13 09-16-2011 09:38 AM
Content Server with Apache Reverse Proxy Caleb666 Calibre 1 08-29-2011 04:20 PM
Content server, IIS proxy, and gzip compression abrinton Calibre 9 04-08-2011 01:26 PM
Setting up proxy server pat.indie enTourage Archive 1 07-06-2010 12:01 AM


All times are GMT -4. The time now is 02:34 PM.


MobileRead.com is a privately owned, operated and funded community.