Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2022, 05:26 PM   #1
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
KOReader + Calibre (https and password)

Hi, I've performed a fresh install of KOReader on my Kobo Glo HD. The software is really impressive, congrats !

Howerver, I planed to connect to my Calibre Content Server (on my NAS). The server works nice : I can connect from a browser or in OPDS using Android apps. The server has to be available from WAN so insecure http is not an option, not to mention no password. The server is properly configured in https with a user/password.

I've first tried to connect to a wireless Calibre but without success : I cannot setup a username. Is there a syntax to setup a username and a password ? I've tried the usual userasswd in the password field, and also https://user@calibre.myserveradress.me in the adress field, without success.

So I've backtracked on OPDS but it doesn't work either. With OPDS, I've set :
The server beeing fine, how can I setup a distant and secure connection to my Calibre library ?
temperdu is offline   Reply With Quote
Old 09-29-2022, 05:33 AM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 1966775
Join Date: Apr 2014
Device: BQ Cervantes 4
See https://www.mobileread.com/forums/sh...29&postcount=4
pazos is offline   Reply With Quote
Old 09-29-2022, 06:41 PM   #3
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
Thanks, these are bad news. Since 2014, didn't anybody put in the legwork ? And is it only about the direct "calibre" connection, or as well about the OPDS thing ?
temperdu is offline   Reply With Quote
Old 09-29-2022, 11:44 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,735
Karma: 23000004
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
Any and all HTTP interactions.

(And to answer your question: yes, most of us are on the same network as our calibre instance, so the point is moot, making this very very low priority).

(Also, most of the active devs don't actually use calibre at all, IIRC ;D).

#patcheswelcome
NiLuJe is offline   Reply With Quote
Old 10-01-2022, 12:16 PM   #5
Mars95
Member
Mars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheese
 
Posts: 13
Karma: 1002
Join Date: Apr 2022
Device: AuraE2, Poke 3, PW5, Libra 2
I've been using OPDS with KOReader through reverse proxy without issues, with authentication set to basic like mentioned in pazos' link. Did you try that?
Mars95 is offline   Reply With Quote
Old 10-02-2022, 04:54 AM   #6
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
I never let any distant connection happen without TSL/SSL.

What I want is to "replace" my Kobo shop by my distant Calibre library while I'm on the go (and forgot to add books at home). The KoReader reading enhancements would have been a welcome addon, but not my primary need. So I just think that KOReader is actually not for me and I'll uninstall.

Any idea of a sowtfare adressing my needs ?
temperdu is offline   Reply With Quote
Old 10-02-2022, 05:21 AM   #7
Mars95
Member
Mars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheeseMars95 can extract oil from cheese
 
Posts: 13
Karma: 1002
Join Date: Apr 2022
Device: AuraE2, Poke 3, PW5, Libra 2
Nono, setting the auth method to basic just means that calibre handles your credentials in plain text and lets your reverse proxy handle the encryption, It doesn't disable SSL altogether. Or am I wrong to assume you use a reverse proxy?
Mars95 is offline   Reply With Quote
Old 10-02-2022, 02:14 PM   #8
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,735
Karma: 23000004
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
@temperdu: IIRC, some of the custom calibre OPDS/content-server implementations were playing with actually emulating the Nickel sync protocol to point to a calibre instance instead, but I haven't followed their progress in a while.

(I think this was pioneered in calibre-web?).
NiLuJe is offline   Reply With Quote
Old 10-06-2022, 04:52 PM   #9
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
Sorry for the delay. And about my configuration, I'm indeed using a reverse proxy. For some reason, I was thinking that "basic" means no password, hence my reluctance. I was wrong and I'll try again with basic auth.
temperdu is offline   Reply With Quote
Old 10-06-2022, 05:11 PM   #10
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
I won't try to connect to Calibre directly because KReader doesn't let the user set a username (only a password). So I've tried with OPDS, again without success.

The error I actually seems not to be related to auth. The error is : "Cannot get catalog info from http://https://calibre.mydomain:443/opds" when I setup the OPDS server with "https://" in the begining (KoReader adds an other "http://" prefix) ; and it is "Catalog not found" when I don't put the "https://". Note that the "https://calibre.mydomain.me:443/opds" works correctly (I get an XML file).

I'm curious about how you setup things, @Mars95.
temperdu is offline   Reply With Quote
Old 10-06-2022, 05:28 PM   #11
temperdu
Junior Member
temperdu began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2022
Device: Kobo Glo HD
My mistake again : it works with OPDS. I did try to setup using the "Local calibre library" in the OPDS Catalog menu. With the "+" button, I've been able to setup the OPDS properly. Thanks.

Just to make sure, OPDS is the only option through a reverseproxy routing https to http, and password protection, right ? There is no obscure way to let a proper "Calibre" connection work, right ?
temperdu is offline   Reply With Quote
Old 10-06-2022, 08:22 PM   #12
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,735
Karma: 23000004
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
As far as Calibre Wireless is concerned, that's a custom protocol over TCP, so there might be some routing shenanigans involved, because HTTP *never* enters the equation. (The default port is either 9090 or automatic, but it's configurable in the startup popup in Calibre).

There's also broadcast sweeping over UDP involved for discovery, but I assume we skip that if you feed an IP:port pair manually.

Last edited by NiLuJe; 10-06-2022 at 08:25 PM.
NiLuJe is offline   Reply With Quote
Old 10-09-2022, 07:07 PM   #13
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 1966775
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by temperdu View Post
Just to make sure, OPDS is the only option through a reverseproxy routing https to http, and password protection, right ? There is no obscure way to let a proper "Calibre" connection work, right ?
It doesn't make sense because you're expected to do stuff from calibre itself. Unless you do VNC or similar to your computer to manage calibre. But that sounds a bit inconvenient.
pazos is offline   Reply With Quote
Old 10-09-2022, 10:04 PM   #14
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,735
Karma: 23000004
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
Oh, right, that, too .
NiLuJe is offline   Reply With Quote
Old 10-25-2022, 12:10 PM   #15
spedinfargo
Groupie
spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.
 
Posts: 155
Karma: 106422
Join Date: Nov 2010
Device: none
I think Calibre Companion has gone through some complicated / controversial changes in the last year or so, but my favorite workflow on my Boox device is to just handle all of the library stuff in Calibre Companion and use that as a launcher to open an EPUB in KOReader. That way I don't have to worry about getting KOReader to connect to my Calibre server, etc.
spedinfargo is offline   Reply With Quote
Reply

Tags
calibre, https, kobo, koreader, password

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can anyone get koreader + wallabag + https://bag.g3l.org/ working? arooni KOReader 1 09-04-2021 08:28 AM
How can I change KOReader password for Progress Sync? frittatahubris KOReader 6 02-09-2020 08:39 AM
Calibre http to https nginx reverse proxy issue vinuabe4 Server 2 01-20-2020 09:01 AM
Calibre caching of books in browser no longer works w/o https (in recent browsers) Inukami Server 1 06-29-2019 12:03 PM
Wie kann ich einen HTTPS Calibre Server aufsetzen? PocketKonne Software 0 12-28-2018 04:54 AM


All times are GMT -4. The time now is 12:17 PM.


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