![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2008
Location: Brea, CA
Device: K1,K2, Broken 505,M003(android 1.6)
|
Calibre Content Server d/l fails on Android
If I log into server with a Windows browser I can d/l books with no problems.
But on android browsers It always fails. Has anyone d/l a book from the content server to an android device? Tried asking on the Calibre forum but no luck. log looks like this 192.168.1.5 - mogrith [18/Sep/2010:15:20:39] "GET /get/EPUB/Bull, Emma|Bear, Elizabeth|Monette, Sarah|Shetterly, Will|Downum, Amanda|Shipman, Stephan-Shadow Unit - Season 1_9407.EPUB HTTP/1.1" 200 1061457 "http://192.168.1.2:8080/mobile?num=25&search=epub&sort=date&order=descendi ng" "Mozilla/5.0 (Linux; U; Android 2.1-update1; en-us; Android for Telechips TCC8900 Evaluation Board (US) Build/ECLAIR) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17" 192.168.1.5 - - [18/Sep/2010:15:21:25] "GET /get/EPUB/Bull, Emma|Bear, Elizabeth|Monette, Sarah|Shetterly, Will|Downum, Amanda|Shipman, Stephan-Shadow Unit - Season 1_9407.EPUB HTTP/1.1" 401 1109 "" "Mozilla/5.0 (Linux; U; Android 2.1-update1; en-us; Android for Telechips TCC8900 Evaluation Board (US) Build/ECLAIR) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17 It looks like I'm getting 401 errors. 10.4.2 401 Unauthorized The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" [43]. |
![]() |
![]() |
![]() |
#2 |
The Dank Side of the Moon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35,891
Karma: 119230421
Join Date: Sep 2009
Location: Denver, CO
Device: Kindle2; Kindle Fire
|
What server are you trying to download from?
The browsers on Android are limited and different from full-bore browsers. I've not tried purchasing or downloading via browser. Most sellers provide an app (kindle app) to do this. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Interested Bystander
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
I think they are running a Calibre content server on their own network.
|
![]() |
![]() |
![]() |
#4 |
The Dank Side of the Moon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35,891
Karma: 119230421
Join Date: Sep 2009
Location: Denver, CO
Device: Kindle2; Kindle Fire
|
I think you are right, which I sort of realized after posting, but still the same conditions apply.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2008
Location: Brea, CA
Device: K1,K2, Broken 505,M003(android 1.6)
|
It seems to be an error in the password logic.
If I remove password it will work. But if I turn on the password protection. The D/l fails. I get the pop-up for logging in when I first goto the page and can log in and see all the books. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 700
Join Date: Sep 2010
Location: Las Vegas
Device: Nook, CoolER
|
Stupid question but what is the difference between Calibre the open-source book reader/converter and this server?
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
|
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 700
Join Date: Sep 2010
Location: Las Vegas
Device: Nook, CoolER
|
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
It's the stuff in your calibre library, exposed so that readers like Stanza and Aldiko can access the books from calibre. It also has an html interface.
You can start the content server from calibre's Preferences dialog, and then navigate to the server based on the machine name and port. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2010
Device: G1 (Android) w/FBReader
|
Download fails when server is password-protected
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server | statiiq | Calibre | 18 | 11-04-2016 03:12 PM |
Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 09:47 PM |
Which Android readers work well with Calibre's Content Server | orijonl | Calibre | 7 | 08-27-2010 09:13 AM |
Calibre server mac and android | jettrue | Calibre | 15 | 06-14-2010 07:19 PM |
content server in calibre | bruceOz | Calibre | 1 | 04-16-2010 04:23 AM |