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

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2018, 06:41 AM   #1
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Angry Kobo Browser not reading Calibre server

Hi,

I have my calibre-server running without problems and I can access it with firefox from other computers or Android tablets. However, when I try to connect with the Kobo browser, it gets stuck on the progress bar.
Trying the mobile version of the server does not work either: nothing happens.

I am certain that Kobo is the culprit here, but is there a solution for the problem?

My calibre version is 3.14

(sorry, I looked for duplicate threads, could not find them. But improbable that I am the only one with this problem)

Paai

Last edited by paai; 01-03-2018 at 06:43 AM. Reason: forgot version number of calibre
paai is offline   Reply With Quote
Old 01-03-2018, 07:24 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
What firmware version are you running? It is working with 4.7.10413 and has with the last three or four firmware releases. The browser was broken in various ways before that so that some sites worked, and others didn't. And anything before 4.4.x will not work with calibre v3 or later. And you do have to use the mobile site.
davidfor is offline   Reply With Quote
Advert
Old 01-03-2018, 09:22 AM   #3
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Hi, My Kobo firmware (software) reports also as 4.7.10413. As I said, the mobile site of the calibre server does not react at all.
paai is offline   Reply With Quote
Old 01-03-2018, 05:57 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by paai View Post
Hi, My Kobo firmware (software) reports also as 4.7.10413. As I said, the mobile site of the calibre server does not react at all.
Sorry, all I can say is that it is working perfectly here. When you access the mobile site are you typing in the URL or tapping the link on the loading page calibre presents? There should be a message to use the simple site under the progress bar. The link is the word "here".
davidfor is offline   Reply With Quote
Old 01-05-2018, 06:52 AM   #5
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Yes, I did try both links. The only consolation is that I also have a homegrown server, which works as well but is not as polished as Calibre.

And of course it is irksome that something does not work as expected without a plain reason.

Paai
paai is offline   Reply With Quote
Advert
Old 01-05-2018, 07:13 AM   #6
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: 44,144
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the server log to see if the device is contacting the server or not.
kovidgoyal is offline   Reply With Quote
Old 01-05-2018, 10:12 AM   #7
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Hi Kovid. First kudos for your excellent program. This is a retired university professor in library science saying it :-)

The problem:

I start the server (3.15, from today!) on a Kubuntu machine with
$ sudo /usr/bin/calibre-server --port=8881 --userdb /home/paai/.config/calibre/server-users.sqlite --enable-auth --daemonize --log=/home/paai/.config/calibre/server.log

Other computers now can attach to the server without a problem, both regular and /mobile. So the calibre server works.

The Kobo Browser (software 4.7.10413) can attach to other servers on this Kubuntu machine such as Apache. So the Kobo works and there are no obvious firewal problems or the like.

The Calibre server shows the progress bar and the message that I can find a non-javascript version here (under /mobile) and stops.

Accessing the mobile version does nothing at all.

the logfile at /home/paai/.config/calibre/server.log says:

calibre server listening on 0.0.0.0:8881
OPDS feeds advertised via BonJour at: 192.168.178.25 port: 8881

and that is it.
But as I have another server that does work on the Kobo and allow me to fetch my books, it has no high urgency.


Paai
paai is offline   Reply With Quote
Old 01-05-2018, 10:27 AM   #8
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
KOReader's OPDS support will also access the local calibre content server. You can place the books where the Kobo stock software can access them, if you don't want to read them with KOReader, or Coolreader, or even Plato now.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 01-05-2018, 10:52 AM   #9
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: 44,144
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You also need

--access-log

which will log all requests to the server. That will tell you if the kobo is reaching the server at /mobile or not
kovidgoyal is offline   Reply With Quote
Old 01-05-2018, 12:30 PM   #10
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Ah yes.

The request from the Kobo reaches the calibre server:

192.168.178.157 port-49730 - 05/jan/2018:18:06:37 +0100 "GET /mobile HTTP/1.1" 401 292
192.168.178.157 port-49731 - 05/jan/2018:18:06:49 +0100 "GET /mobile HTTP/1.1" 401 292

Now I see error 401, which is a authenticiation problem. I stopped the calibre server, which asks for username and password and started the calibre user interface and the server from there without authenticiation.

The Kobo now could reach calibre and get books from it. For good measure I also restarted the server without the userdb and tat worked too. So that narrows it down to the authenticiation.

I don't want my books exposed to the internet, but I need to access them from outside.

Paai
paai is offline   Reply With Quote
Old 01-05-2018, 06:55 PM   #11
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I'd forgotten about that. The Kobo browser doesn't prompt for the username and password for this type of authentication. I've added the username and password to the bookmark for the calibre server. I did this a long time ago, so I'm pretty sure it's always been the case for the browser.

And interestingly enough, I've just tried the browser in other ereader, and it behaves in the same way.
davidfor is offline   Reply With Quote
Old 01-22-2018, 10:14 AM   #12
paai
Member
paai began at the beginning.
 
Posts: 12
Karma: 22
Join Date: Mar 2015
Device: kobo Aura
Quote:
Originally Posted by davidfor View Post
I'd forgotten about that. The Kobo browser doesn't prompt for the username and password for this type of authentication. I've added the username and password to the bookmark for the calibre server. I did this a long time ago, so I'm pretty sure it's always been the case for the browser.

And interestingly enough, I've just tried the browser in other ereader, and it behaves in the same way.
How then does the URL look like? I tried
http://hostname:8881/mobile/?usernam...sword=password


Oh, I got it:

http://usernameassword@myserver.com:8881/mobile

Great! Especially the unexpected smiley where colonP was written.

Last edited by paai; 01-22-2018 at 10:20 AM. Reason: found out for myself
paai is offline   Reply With Quote
Old 01-22-2018, 11:56 AM   #13
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,415
Karma: 74317822
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by paai View Post
Great! Especially the unexpected smiley where colonP was written.
http://username:password@myserver.com:8881/mobile

Just use the [noparse] ... [/noparse] tags to solve that
PeterT is offline   Reply With Quote
Reply

Tags
kobo browser

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre-sync: Automatically download books from your Calibre Content Server onto Kobo mishagale Related Tools 14 05-13-2019 05:18 PM
Firefox 55 breaks calibre server online reading gbm Calibre 5 11-28-2018 02:16 PM
Calibre 3.2.1 web browser book reading problem kobemtl Calibre 3 09-25-2017 07:30 AM
calibre-server 3.2.1: cannot read anything in browser apiontek Calibre 4 07-01-2017 10:49 AM
Calibre Server view Book in Browser novalagoon Calibre 5 11-03-2012 02:46 PM


All times are GMT -4. The time now is 11:08 AM.


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