![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
Unable to Connect CC to Calibre
Follow On From (separate issue) :
https://www.mobileread.com/forums/sho...d.php?t=197058 On The PC in Calibre I have : 1) Started the content server (IP 10.1.1.3:8080) 2) Started the wireless device connection (IP 10.1.1.3) I TRY TO CONNECT AS WIRELESS DEVICE On My Nexus 7 I have Started Calibre Companion : 3) Select "Connect"as "Wireless Device" Error "Could Not Find Calibre - Have you Started Wireless connections" Note - see above - YES the Wireless Connection is started. On My PC in Calibre I 4) Stop Wireless Connection 5) Select "allow automatic connections" 6) Set port = 9090 7) Tick "use a fixed port" (Displayed Wireless IP is now 10.1.1.3:9090) On the Nexus (Companion -> Settings -> Calibre IP Address) 8) IP Address 10.1.1.3 [FYI Nexus IP is 10.1.1.4] 9) Wireless Connect Port 9090 10) "Connect as Wireless Device" Error "Failed to connect. If you specified an IP Address and port manually, you probably entered them incorrectly" 11) Repeat (4) to (10) using a variety of ports e.g. 9191, 9999. I believe that I have done everything that the Help has asked me to. I DID manage to get it to connect ONCE (and transferred two books). I have spent about six hours on this so far. ----------------------------------- FYI PC is Dell running Windows 7 SP1. Callibre is 0.9.6 Device is Nexus 7 32GB Android ver 4.2 |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
FYI I went off and did other things for a couple of hours. I came back and the connection worked (*1). I disconnected, and then tried connecting again, same problem. I will see what happens after another couple of hours.
(*1) With default ports. Note - After several hours have retried. Still unable to reconnect, and unable to ascertain what is different about "now" and the two successful connections. Last edited by Glottalpoly; 11-20-2012 at 01:52 AM. Reason: Further Attempts - Results |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Intermittent connections are the hardest to debug.
![]() Starting at the beginning with things that we know can cause problems:
It would be very useful to get some debug information from calibre. To do this, please:
As a further test, please check content server connectivity.
If the second doesn't work reliably then there is a problem at the edge of your windows machine preventing incoming network connections. This will almost certainly be a firewall, anti-virus, or over-aggressive network security program on your PC. If the second works reliably but the third doesn't, then the problem is somewhere on your network between your nexus and your PC. What that might be depends on the topology of the network. If the third works but the fourth doesn't then the problem is probably on your windows machine, probably (again) a firewall, anti-virus, or over-aggressive network security program. In this case we will need to try a few more experiments. If the last two above work reliably but CC does not, then we have a problem with CC. What that might be is a mystery, but we will cross that bridge when we come to it. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
Answers to first 12 questions.
1. IP addresses in the 10 range are a bit rare. Are you on a home network? What else is on the network? It is my HOME network. I have : An old Belkin (F1PI241EGau) Internet Router providing (ADSL1) internet access and DHCP / DNS. The default IP is 10.1.1.1. I believe that more recent models have a more conventional 192.168.x.y address. I have a DLink DSL 2730B Router Ethernet cable connected to the Belkin, providing 802.11n wireless connectivity. 2. What brand is your network router (the one that separates the internal network from the internet)? As above 3. Does your windows machine have a fixed IP address? In other words, is it always 10.1.1.3? Dynamic – but I have very few devices (phones, other computers, printer) connected (< 10) so the IP addresses are often “constant” for a specific device. 4. Is there more than one network router/switch between your nexus and your windows machine? If you are on a work network then this is very possible. The Nexus and the PC both use the same wireless network (from the Dlink) but yes DHCP/DNS is managed by the Belkin. 5. Have you verified that calibre is allowed through the firewall on your windows machine (see the faq for instructions)? I am using Norton Firewall. Calibre was set to “Auto”. I changed it to “Allow” (Didn’t make any difference) 6. Are you running any "network security suite" on your windows machine, such as McAfee or Norton? Currently running Norton 360. 7. Is the windows machine managed by an IT group (a work machine)? Managed by Me. 8. Are you running anything like a "virtual machine" such as Windows XP mode or virtualbox? No. 9. Do you have a VPN installed? These are usually installed to connect securely to work networks. No (Not on this machine, I do on another - but it isnt switched on at the moment). 10. Does your windows machine have any other network interfaces? To check this, open a command box (Start, type cmd into the "Run" box, press return. When the command box opens, type "ipconfig /all". You will see something similar to what is under the spoiler. Look to see if more than one adapter has an IP address. (See end of post for IPconfig output) Just : Wireless – Permanent Bluetooth – a few times a day – not while testing CC Ethernet – Only when configuring router (not for several months) 11. Are you running a firewall on your nexus such as droidwall? No 12. Do you have any other devices plugged into the windows machine, perhaps only for charging? I have two Western Digital USB 2.0 HDD. They have their own power supplies. --------------------------------------------------------- Output from ipconfig. C:\Users\69254>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : DenisWin7 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Bluetooth Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network) Physical Address. . . . . . . . . : CC-AF-78-87-A6-50 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Wireless LAN adapter Wireless Network Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter Physical Address. . . . . . . . . : EE-AF-78-87-A6-4F DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Dell Wireless 1702 802.11b/g/n Physical Address. . . . . . . . . : CC-AF-78-87-A6-4F DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::e01d:8ba:cb00:f761%12(Preferred) IPv4 Address. . . . . . . . . . . : 10.1.1.3(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Monday, 19 November 2012 5:38:12 PM Lease Expires . . . . . . . . . . : Thursday, 22 November 2012 10:17:53 AM Default Gateway . . . . . . . . . : 10.1.1.1 DHCP Server . . . . . . . . . . . : 10.1.1.1 DHCPv6 IAID . . . . . . . . . . . : 315404152 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-8E-D1-5D-18-03-73-5F-AA-FB DNS Servers . . . . . . . . . . . : 10.1.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek PCIe FE Family Controller Physical Address. . . . . . . . . : 18-03-73-5F-AA-FB DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{9C9D2980-E508-4F88-ACB1-5703ACF52D3A}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{B68ED933-62AC-4CBC-80ED-29A36D24AF83}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{53D8A285-0AA2-4EF5-834B-DC66740664AC}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{21C0E942-89A1-4935-B0B4-DDDEEEDE608E}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:14c2:31ac:836b:7b70(Preferred) Link-local IPv6 Address . . . . . : fe80::14c2:31ac:836b:7b70%13(Preferred) Default Gateway . . . . . . . . . : :: NetBIOS over Tcpip. . . . . . . . : Disabled Last edited by Glottalpoly; 11-20-2012 at 05:25 AM. Reason: Remove Tracert Details |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
Calibre Debug Information points 5 & 7 :
calibre Debug log -------------------- calibre 0.9.6 Windows-7-6.1.7601-SP1 Windows ('Windows', '7', '6.1.7601') Python 2.7.3 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Starting up... Started up in 22.86 seconds with 2605 books SMART_DEV ( 0.05: 0.050) startup_on_demand All IP addresses {'{B68ED933-62AC-4CBC-80ED-29A36D24AF83}': [{'addr': '169.254.39.148'}], '{21C0E942-89A1-4935-B0B4-DDDEEEDE608E}': [{'addr': '169.254.93.95'}], '{846EE342-7039-11DE-9D20-806E6F6E6963}': [{'broadcast': '127.255.255.255', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}], '{53D8A285-0AA2-4EF5-834B-DC66740664AC}': [{'broadcast': '10.1.1.255', 'netmask': '255.255.255.0', 'addr': '10.1.1.3'}]} SMART_DEV ( 0.20: 0.000) _attach_to_port try ip address "" on port 31581 SMART_DEV ( 1.14: 0.880) startup_on_demand listening on port 31581 SMART_DEV ( 1.19: 0.000) _attach_to_port try ip address "" on port 54982 SMART_DEV ( 1.25: 0.000) startup_on_demand broadcast socket listening on port 54982 Calbre Debug Device Detection -------------------------------------- calibre 0.9.6 Windows-7-6.1.7601-SP1 Windows ('Windows', '7', '6.1.7601') Python 2.7.3 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') USB devices on system: [u'usb\\root_hub20&vid8086&pid1c26&rev0005', u'usb\\root_hub20&vid8086&pid1c2d&rev0005', u'usb\\vid_0bda&pid_58c1&rev_1530', u'usb\\vid_0bda&pid_58c1&rev_1530&mi_00', u'usb\\vid_0cf3&pid_3002&rev_0001', u'usb\\vid_1058&pid_1021&rev_2021', u'usb\\vid_1058&pid_1140&rev_1003', u'usb\\vid_8087&pid_0024&rev_0000', u'usb\\vid_8087&pid_0024&rev_0000'] Traceback (most recent call last): File "site-packages\calibre\devices\scanner.py", line 85, in __call__ DriveError: No removable drives found Drives detected: Looking for devices of type: MTP_DEVICE The Windows WPD service says there are no portable devices connected Looking for devices... Devices possibly connected: None |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
I started the wireless on the internet router, and wirelessly connected both devices directly to the Internet router. That works !
If I try to connect to my normal Wireless Router (which is ethernet cable connected to the DHCP / DNS server) it doesnt work. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
OK, here is our first anomoly.
Quote:
Without changing any setting in calibre, change CC to "use defaults" for the IP address and port. Rerun the debug log experiment. |
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Another possibility: the dlink might be forwarding all packets out the cable, expecting the device at the other end to send them back if necessary. I can see why they might choose to do this, as it saves a lot of traffic. It might also happen if the IP address of the dlink (the config address) is not in the 10 range. In this case it might not send incoming wireless packets back out, instead thinking that the packets should be sent only out the cable. Some network switches work this way, so it isn't impossible. I have a netgear wireless hub attached by cable to my i'net router. It works with CC, so there is an existence proof that hub/router pairs can function. Unfortunately I can't say what you might need to do to make your config work reliably. |
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
Quote:
I am using currently using default ports connected directly (via wreless) to the internet router - that works. |
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
|
After I have my Nexus setup, the transfer of books isnt something that I will do often (besides - there wont be any space left - it only has 32GB), so for the ad hoc usage connecting directly to my internet router works for me.
In terms of a long term solution to the problem, I dont have any plans to investigate what the Dlink might be doing. I did make some changes with port forwarding on the Belkin (different problem, couple of years ago), but I have reset it since and cannot think of anything "significant" that would affect it (just usual stuff like SSID name, Security Key etc). I am rather hoping to focus my time on reading the books ! I will have other issues like becoming familiar with CC, and playing seeing how I can maximise the value of the information I have in Calibre - e.g. capturing Dewey Subject information in CC (which I have already setup in Calibre in a hierarchichal fashion). I do however really appreciate your assistance - so if you do want me to do some specific investigating - let me know and I am happy to oblige. |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() Don't hesitate to ask if you need any pointers for using calibre metadata in CC. People on this forum have a lot of experience with different problems and different setups. |
|
![]() |
![]() |
![]() |
Tags |
calibre, companion, nexus 7 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to Connect CC to Calibre | Glottalpoly | Android Devices | 2 | 11-19-2012 08:48 PM |
HELP! Unable to connect Nexus 7 to pc via usb cable | unifaerie | Android Devices | 1 | 08-31-2012 12:47 AM |
unable to connect to my own wifi | RebelGirl76 | Kobo Reader | 3 | 01-25-2011 10:08 PM |
Classic Your nook was unable to connect. Please try again | Sakura | Barnes & Noble NOOK | 7 | 05-19-2010 12:44 PM |
Unable to connect to the Wi-Fi | supercap | enTourage Archive | 12 | 05-16-2010 11:21 AM |