07-24-2011, 12:03 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
Size limit in content server downloads?
Hi,
Sorry if this has already been reported but could not find it in the forum. I'm trying to download books from the calibre content server and it looks like I have hit some sort of size limit. I can download every book under 270Kb but none over that size. I've tried with the Aldiko catalog and the navigator in my XOOM over Wifi and also with the Firefox navigator in the same PC where the calibre server is running. No difference. The messages from the server, as shown in the preferences dialog in Caliber for these failed downloads are similar to the ones from succesful ones. I'm on Calibre 0.8.8 Is there a way to increase this limit? Thanks for any help, Pepe |
07-24-2011, 01:36 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
There is definitely no such limit built into the Content Sever. I regularly download much bigger items without issues.
However, quite what could be causing your problem is by no means clear. |
Advert | |
|
07-24-2011, 09:25 AM | #3 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
07-24-2011, 11:11 AM | #4 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
itimpi,
Quote:
It could be a coincidence that the books I can download are the smallest. Still I don't see any difference between the ones I can download and the ones I can't. Same formats, same disk, similar covers... Let's see if someone chimes in with a way to debug this problem. Thanks, anyway, for trying to help. Pepe |
|
07-24-2011, 11:13 AM | #5 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
download your books from a browser on your computer. That will tell if you if the problem is on your device or with the content server
|
Advert | |
|
07-24-2011, 11:27 AM | #6 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
Starson,
Quote:
There's no error message in the server, as shown in the Preferences dialog. Thanks for your help, Pepe |
|
07-24-2011, 11:39 AM | #7 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
Kovid,
Quote:
Pepe |
|
07-24-2011, 11:42 AM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
disable your firewall temporarily (and disconnect from the internet, see that makes a difference)
|
07-24-2011, 12:12 PM | #9 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
Kovid,
Quote:
Disabling the network connection, I cannot reach the content server through 192.168.1.11:8080 anymore. Reaching it through 127.0.0.1:8080, I get the same results. No big books are downloadable. I have also tried the Caliber in debug mode: started the content server and tried to download two books one of each kind. This is the log I got: calibre Registro de depuración calibre 0.8.8 Windows-XP-5.1.2600-SP3 Windows ('Windows', 'XP', '5.1.2600') Python 2.7.1 Windows: ('XP', '5.1.2600', 'SP3', 'Uniprocessor Free') Starting up... Started up in 68.1710000038 Device using plugboard epub content_server None Device using plugboard epub content_server None Is there a way to run the content server in some kind of verbose mode so that extensive logging is performed? Pepe |
|
07-24-2011, 12:57 PM | #10 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre-server --develop
|
07-24-2011, 01:18 PM | #11 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
Kovid,
Here's the whole log after trying to download two books. The Lazarillo book, I can download flawlessly. The Gulliver, I can't. Both can be opened without problems from within Caliber in the EPUB viewer and have been transferred over USB to a Sony PRS-650 also without trouble. Code:
[24/Jul/2011:19:08:40] ENGINE Bus STARTING CherryPy Checker: The config entry 'server.shutdown_timeout' in section 'server.shutdown_timeout' is of type 'float', which does not match the expected type 'int'. [24/Jul/2011:19:08:40] ENGINE Started monitor thread '_TimeoutMonitor'. [24/Jul/2011:19:08:40] ENGINE Serving on 0.0.0.0:8080 [24/Jul/2011:19:08:41] ENGINE Bus STARTED Function browse_matches called with args: () {'category': u'allbooks', 'cid': u' dummy'} Time: browse_matches 0.108999967575 192.168.1.11 - - [24/Jul/2011:19:09:04] "GET /browse/matches/allbooks/dummy HTTP /1.1" 200 8152 "http://192.168.1.11:8080/browse" "Mozilla/5.0 (Windows NT 5.1; r v:2.0.1) Gecko/20100101 Firefox/4.0.1" Function browse_booklist_page called with args: () {'ids': '[81, 64, 62, 61, 76, 58, 59, 77, 73, 66, 75, 60, 68, 65, 57, 69, 74, 72, 70, 71, 63, 67, 1, 95, 82]' } Time: browse_booklist_page 0.43799996376 192.168.1.11 - - [24/Jul/2011:19:09:06] "POST /browse/booklist_page HTTP/1.1" 20 0 34457 "http://192.168.1.11:8080/browse/category/allbooks" "Mozilla/5.0 (Window s NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1" Function get called with args: () {'what': u'epub', 'id': u'La vida de Lazarillo de Tormes y de sus fortunas y adversidades - Anonimo_81.epub'} Time: get 0.203999996185 192.168.1.11 - - [24/Jul/2011:19:09:26] "GET /get/epub/La vida de Lazarillo de T ormes y de sus fortunas y adversidades - Anonimo_81.epub HTTP/1.1" 200 80056 "ht tp://192.168.1.11:8080/browse/category/allbooks" "Mozilla/5.0 (Windows NT 5.1; r v:2.0.1) Gecko/20100101 Firefox/4.0.1" Function get called with args: () {'what': u'epub', 'id': u'Los viajes de Gulliv er - Jonathan Swift_82.epub'} Time: get 0.281000137329 192.168.1.11 - - [24/Jul/2011:19:10:40] "GET /get/epub/Los viajes de Gulliver - Jonathan Swift_82.epub HTTP/1.1" 200 301211 "http://192.168.1.11:8080/browse/cat egory/allbooks" "Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4 .0.1" |
07-24-2011, 01:29 PM | #12 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As per that log, the requests are being served correctly.
|
07-24-2011, 03:41 PM | #13 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Somthing is interfering with the download. I would guess that the most likely culprit is your firewall software.
|
07-24-2011, 03:43 PM | #14 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Have you messed with the network settings, in particular the MTU or TCP window size?
You might want to look at windows event logging to see if some kind of network error is being reported. |
07-25-2011, 11:36 AM | #15 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: several
|
itimpi,
Quote:
I tried loading a huge file as cover (600KB) to see whether it would reach Firefox, but Caliber cropped it at load time. The biggest I managed was a 150KB cover file that landed nicely in my Firefox. Pepe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
Is there a size limit for TOC.ncx? | osnova | Kindle Formats | 10 | 10-21-2011 01:41 AM |
Practical size limit on epubs | bobcdy | ePub | 4 | 11-13-2010 04:13 AM |
Size limit on PDFs? | tench | Sony Reader | 4 | 06-24-2009 06:48 PM |
PDF size limit | sic | Sony Reader | 14 | 07-15-2007 04:50 AM |