![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2009
Device: iPod Touch - Stanza
|
Autodetected Calibre content server times out
I'm running Calibre v. 0.6.13 on Ubuntu Linux (Jaunty), and Stanza 2.0 on my ipod touch 2G. I have the content server turned on, and it shows up under the shared books in Stanza under "Computers Sharing Books". When I click on this however, it says "Loading...", and then times out. On the other hand, if I go "Add Book Source" and add "http://192.168.1.101:8005/stanza" (I put the content server on port 8005), and use that one, it works perfectly.
Adding it manually works, but is a bit of a nuisance, since my computer is a laptop with a dynamic IP. Is there any way to get the autodetected one to work properly? Thanks in advance. Devin Last edited by NeoDevin; 12-23-2009 at 04:19 PM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
It seems to work perfectly for me - but then I am using the 0.6.29 release. I use both the manual and the automatic mode at different times. Note that for the manual mode I use the server name rather than the IP address so that I do not mind if the IP address changes.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2009
Device: iPod Touch - Stanza
|
Do any of the repositories have 0.6.29?
I got 0.6.13 from "http://ppa.launchpad.net/fabricesp/ppa/ubuntu jaunty main" Or do I need to install it myself? Edit: Browsing through, it seems that 0.6.24 is in the Karmic repository... Edit2: Tried using the one from the Karmic repository, but it has too many dependencies that aren't in the rest of the jaunty repositories. Last edited by NeoDevin; 12-23-2009 at 06:43 PM. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2009
Device: ipod touch, nokia e51
|
Hello,
Been a lurker for awhile now. I also have this problem, it just said "catalog error timed out" I run calibre .0.6.31 on windows 7 and haven't had any problems with transferring to my touch until a couple of weeks ago. I also tried stanza desktop just now and it also timed out. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
It might be worth checking that you have not got your firewall software blocking Calibre?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2009
Device: ipod touch, nokia e51
|
Checked it and nope, I've set it to full access to the net and as a server on my firewall.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
I've been having this exact problem for the last few versions of calibre and stanza.
Currently I am running Calibre 0.6.45 on 64bit Ubuntu 9.10 installed via the binary install python instructions listed on the calibre site. Stanza 2.1.1 is running on my iphone 3G. The laptop running Calibre is not firewalled in any way and both devices are connected via a wifi AP. Within the "Computers Sharing Books" section of the "Get Books" screen in Stanza, it lists calibre running on my laptop. Upon clicking it, stanza attempts to connect for 60 seconds before timing out. If I manually add it as a source as http://192.168.1.4:8080 it works perfectly. Here's something interesting from the log: [27/Mar/2010:15:51:35] Failed to start BonJour: [27/Mar/2010:15:51:35] Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/library/server.py", line 423, in start File "/home/kovid/build/calibre/src/calibre/utils/mdns.py", line 75, in publish File "/home/kovid/build/calibre/src/calibre/utils/Zeroconf.py", line 1345, in registerService File "/home/kovid/build/calibre/src/calibre/utils/Zeroconf.py", line 1432, in checkService NonUniqueNameException If I didn't know better, I would assume that Kovid has hard coded some calls to various core scripts? |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,200
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
absolute paths can be ignored (they are an artifcat of the build process). That error indicates something else on your network is using the name used to publish the bonjour service used for auto discovery. make sure you dont have multiple copies of calibre running on your network.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
Kovid, sorry for the massive delay in my response (and after you responding so promptly!) I never received an email notification that there'd be a response in this thread.
That said, I'm very confident there's no other instances of calibre running in the LAN, there is however a DLNA server for the PS3 and I had just installed the latest calibre over the top of an existing version (I did shut calibre down, but perhaps it didn't shut down all it's processes...). I'll make some time to examine this more closely over the weekend. ![]() |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
Ok, I've just today updated to calibre 0.6.55.
After the update, I started calibre at the command line so I could see any messages that appeared there. Immediately the following appeared: link hasn't been detected! link hasn't been detected! I then opened the preferences dialog and the same message was printed to the command line several more times: link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! After starting the server I opened the server logs and saw this: [30/May/2010:20:51:08] ENGINE Bus STARTING [30/May/2010:20:51:08] ENGINE Started monitor thread '_TimeoutMonitor'. [30/May/2010:20:51:08] ENGINE Serving on 0.0.0.0:8787 [30/May/2010:20:51:08] ENGINE Bus STARTED (As you can see, I'm using the non-standard port of 8787. I changed from the default after reading in another thread that it helped for someone else, I am seeing no change.) Attempting to connect to the server via either the bonjour autodetect or via direct IP gives me the same old: Catalog Error timed out I then stopped the server, closed the preference dialog and then the parent calibre window. The following was spat out to the command line: Exception in thread Thread-12 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner File "/usr/lib64/python2.6/threading.py", line 477, in run File "/home/kovid/build/calibre/src/calibre/library/server.py", line 437, in start <type 'exceptions.ImportError'>: No module named traceback I've double checked the network, there is this Ubuntu 10.04 laptop, the billion router, an Ubuntu 9.10 desktop, a playstation 3 and a windows vista laptop. None of them has iTunes or calibre installed upon them. Any ideas? |
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
Repeating the above steps gave me this:
link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.b.9.9.6.e.f.f.f.8.e.3.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.b.9.9.6.e.f.f.f.8.e.3.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.b.9.9.6.e.f.f.f.8.e.3.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. Exception in thread Thread-12 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner File "/usr/lib64/python2.6/threading.py", line 477, in run File "/home/kovid/build/calibre/src/calibre/library/server.py", line 437, in start <type 'exceptions.ImportError'>: No module named traceback All the DNSQuestion stuff appeared when I started the server. |
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,200
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The not a local name error just means that you have something on your network advertising an invalid name via mdns
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
Ok, I've played with it a little bit.
For a start, I just updated to Calibre 0.7.6. With /etc/nsswitch.conf set to this: hosts: files mdns4_minimal dns [NOTFOUND=return] mdns4 I got this: thill@cheezeburger:~$ calibre Upgrading database to version 12... link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name c.d.b.e.0.1.e.f.f.f.2.c.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. link hasn't been detected! link hasn't been detected! Exception in thread Thread-12 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner File "/usr/lib64/python2.6/threading.py", line 477, in run File "/home/kovid/build/calibre/src/calibre/library/server/base.py", line 159, in start <type 'exceptions.ImportError'>: No module named traceback No access, either by browsing or direct IP. Then I removed all the words that had mdns in it so nsswitch.conf looked like this: hosts: files dns [NOTFOUND=return] And here's the output after starting calibre, starting the content server and attempting to access it, both via browsing and direct IP within stanza: thill@cheezeburger:~$ calibre link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! link hasn't been detected! DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. link hasn't been detected! link hasn't been detected! DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa. DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa. DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa. DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa. DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. link hasn't been detected! link hasn't been detected! DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa. link hasn't been detected! link hasn't been detected! Exception in thread Thread-12 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner File "/usr/lib64/python2.6/threading.py", line 477, in run File "/home/kovid/build/calibre/src/calibre/library/server/base.py", line 159, in start <type 'exceptions.ImportError'>: No module named traceback Now I understand you are saying that you suspect some rogue mdns "thing" is out there interfering with the server, but I get the same results on my work network as I do on my home network (despite wildly different configurations) and with the mdns lookups disabled in nsswitch.conf, I would have thought any rogue elements would have been ignored. I'd love to help you debug this, just give me some advice on what to do. ![]() |
![]() |
![]() |
![]() |
#14 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,200
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The DNS names shouldn't make any difference to the operation of the server. It is independent of the mDNS broadcast service.
If the log is showing no requests, then requests from the client are not reaching the server, which means some routing/firewall problems. |
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
|
I can't track the problem down on my own, I can't find any evidence of a firewall or the like interfering.
If anyone else has any ideas, I'm all ears. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server | statiiq | Calibre | 18 | 11-04-2016 03:12 PM |
Kindle and Calibre Content Server | JoeFloyd | Amazon Kindle | 26 | 12-09-2015 11:12 PM |
Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 09:47 PM |
Classic Nook and Calibre Content Server | roco | Barnes & Noble NOOK | 14 | 06-25-2010 10:57 PM |
content server in calibre | bruceOz | Calibre | 1 | 04-16-2010 04:23 AM |