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 11-19-2012, 08:52 PM   #1
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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
Glottalpoly is offline   Reply With Quote
Old 11-19-2012, 11:11 PM   #2
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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
Glottalpoly is offline   Reply With Quote
Advert
Old 11-20-2012, 03:37 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Intermittent connections are the hardest to debug. Thanks for being willing to take some more time to help work out what is going on.

Starting at the beginning with things that we know can cause problems:
  1. IP addresses in the 10 range are a bit rare. Are you on a home network? What else is on the network?
  2. What brand is your network router (the one that separates the internal network from the internet)?
  3. Does your windows machine have a fixed IP address? In other words, is it always 10.1.1.3?
  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.
  5. Have you verified that calibre is allowed through the firewall on your windows machine (see the faq for instructions)?
  6. Are you running any "network security suite" on your windows machine, such as McAfee or Norton?
  7. Is the windows machine managed by an IT group (a work machine)?
  8. Are you running anything like a "virtual machine" such as Windows XP mode or virtualbox?
  9. Do you have a VPN installed? These are usually installed to connect securely to work networks.
  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.
    Spoiler:
    Code:
    C:\>ipconfig /all
    
    Windows IP Configuration
    
       Host Name . . . . . . . . . . . . : wallaby
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Mixed
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    
    Ethernet adapter Local Area Connection 3:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : TAP-Win32 Adapter V9
       Physical Address. . . . . . . . . : 00-FF-06-42-41-63
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    
    Ethernet adapter Local Area Connection:
    
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
       Physical Address. . . . . . . . . : 6C-F0-49-71-15-B3
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::1c6a:f6f5:6049:83f6%10(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.220.38(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : 14 November 2012 16:35:01
       Lease Expires . . . . . . . . . . : 20 November 2012 20:44:54
       Default Gateway . . . . . . . . . : 192.168.220.1
       DHCP Server . . . . . . . . . . . : 192.168.220.1
       DHCPv6 IAID . . . . . . . . . . . : 242020425
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-27-DF-A2-6C-F0-49-71-15-B3
       DNS Servers . . . . . . . . . . . : 192.168.220.1
                                           8.8.8.8
                                           8.8.4.4
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Tunnel adapter isatap.{9DF7F34A-A87B-4471-B7AE-B7BB272554EF}:
    
       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 Local Area Connection* 11:
    
       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:5ef5:79fb:8fc:389e:b13f:4590(Preferred)
       Link-local IPv6 Address . . . . . : fe80::8fc:389e:b13f:4590%12(Preferred)
       Default Gateway . . . . . . . . . : ::
       NetBIOS over Tcpip. . . . . . . . : Disabled
    
    Tunnel adapter isatap.{06424163-4DB3-4ED8-BE4D-5D3292E52462}:
    
       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
  11. Are you running a firewall on your nexus such as droidwall?
  12. Do you have any other devices plugged into the windows machine, perhaps only for charging?

It would be very useful to get some debug information from calibre. To do this, please:
  1. Start calibre in debug mode. Do this by starting calibre, then clicking on the down-arrow next to preferences and selecting Restart in debug mode.
  2. Wait a few seconds. Don't do anything with calibre.
  3. Attempt to make a "wireless device" connection from your nexus. I assume this will fail. If it does not, then don't bother with the rest. Instead, disconnect and try again.
  4. Quit calibre. A window will open containing the debug text.
  5. Post the debug test here.
  6. Start calibre (again).
  7. Go to Preferences -> Miscellaneous and press Debug device connection. Post the results here.

As a further test, please check content server connectivity.
  • On your windows machine running calibre, using a browser (internet explorer, firefox, etc) connect to 10.1.1.3:8080 assuming that your CS port is still 8080. You should see calibre's content server home page.
  • If you have another computer such as a laptop, try the same thing from that machine. It would be best if this machine is connected wirelessly.
  • Using chrome on your Nexus, attempt to connect to 10.1.1.3:8080. If it works, refresh the page a few times to be sure that it wasn't the "one off" success.
  • If the above works, then using chrome on your nexus attempt to connect to 10.1.1.3:9090. It it works then it will sit and spin for around a minute and finally show some text containing things like "pubdateFormat", "timestampFormat", and a lot of other stuff.
If the first doesn't work, then there is something on your windows machine blocking internal network connections. CC will never work reliably in this case.

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.
chaley is offline   Reply With Quote
Old 11-20-2012, 05:24 AM   #4
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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
Glottalpoly is offline   Reply With Quote
Old 11-20-2012, 05:32 AM   #5
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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
Glottalpoly is offline   Reply With Quote
Advert
Old 11-20-2012, 05:49 AM   #6
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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.
Glottalpoly is offline   Reply With Quote
Old 11-20-2012, 05:52 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
OK, here is our first anomoly.
Quote:
Originally Posted by Glottalpoly View Post
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
The bold line above says that calibre is listening on port 31581. That feels like a dynamic port, one that calibre allocates automatically. Your previous emails said that you were using 9090, and that this is what you put into CC.

Without changing any setting in calibre, change CC to "use defaults" for the IP address and port. Rerun the debug log experiment.
chaley is offline   Reply With Quote
Old 11-20-2012, 06:00 AM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Glottalpoly View Post
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.
That sounds like either your dlink is buggy and not always forwarding packets, or that it is applying some security and deciding that two machines on wifi shouldn't talk to each other. I have never used that router so don't know what kinds of things it does.

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.
chaley is offline   Reply With Quote
Old 11-20-2012, 07:12 AM   #9
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
Posts: 33
Karma: 490232
Join Date: Nov 2012
Device: Nexus 7
Quote:
Originally Posted by chaley View Post
OK, here is our first anomoly.The bold line above says that calibre is listening on port 31581. That feels like a dynamic port, one that calibre allocates automatically. Your previous emails said that you were using 9090, and that this is what you put into CC.

Without changing any setting in calibre, change CC to "use defaults" for the IP address and port. Rerun the debug log experiment.
I have already tried both default and manually configured ports while connected through my "wireless" router - neither worked. I DO try to start with defaults !!

I am using currently using default ports connected directly (via wreless) to the internet router - that works.
Glottalpoly is offline   Reply With Quote
Old 11-20-2012, 07:25 AM   #10
Glottalpoly
Enthusiast
Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.Glottalpoly ought to be getting tired of karma fortunes by now.
 
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.
Glottalpoly is offline   Reply With Quote
Old 11-20-2012, 07:38 AM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Glottalpoly View Post
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.
Thanks very much, but no need. We know that the problem is something strange with the router/hub pair, and that is good enough for me as long as it is good enough for you. And I agree, it is nice to read something instead of debugging networking problems to be able to read.

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.
chaley is offline   Reply With Quote
Reply

Tags
calibre, companion, nexus 7

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:45 AM.


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