View Single Post
Old 12-24-2016, 05:50 PM   #1
Wryhder
Member
Wryhder began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
[Android] CC won't connect to Calibre

I'm using a Samsung tablet (Samsung Galaxy Note 10.1, wifi only), and a PC running Ubuntu 16.04.

The problem started a few months ago after I replaced my old USB modem.
I would usually connect to the internet on my pc, then share to my tablet.
I relied on the default connection settings in CC.
Now I use 3g wifi dongle, which can accept multiple wifi connections so I don't need to share to my tablet anymore.

I can connect to the content server just fine, but when I try to use the wireless connection, CC sees Calibre but doesn't connect. It shows that little message box about wrong IP address.

I should mention that for maybe upward of two months now, CC wouldn't even detect Calibre, no matter what I did.
I visited my dongle's web page to change it's address. From 192.168.0.101 back to it's original 192.168.0.1.
The DHCP IP pool range is from 192.168.0.100 to 192.168.0.200.
Normally, with the .101 value, my pc would take .100 and my tablet would take .101 which is the same IP as the router. It meant I couldn't access the internet on both devices simultaneously.
I didn't realize this until a few days ago. I'm still not sure if that's the problem.

So instead of connecting both devices to the dongle, I decided to connect my pc using a broadband connection then share to my tablet, just like before. [the same dongle].
When I did this, I had multiple ip addresses, non of which CC accepted. It didn't even detect Calibre most of the time.
Sometimes, I'd change something, then it would but wouldn't connect.

I've tried everything I can think of. I read CC's FAQs multiple times.
I completely turned off my firewall, I don't use an antivirus.
I've tried fixed ports and IP addresses.

I'd really appreciate some help with this.
I've relied on the content server to send books to my tablet these past months. But I've been unable to sync between both devices which is really what I need.

Here are some screenshots:

1. The usual error message.

Click image for larger version

Name:	Failed_to_connect_wrong_IP_address.png
Views:	409
Size:	769.4 KB
ID:	153751

2. Calibre recognizes my tablet when I connect via USB.

Click image for larger version

Name:	Tablet_connected_via_USB.png
Views:	414
Size:	946.8 KB
ID:	153754

3. CC finds calibre but non of these two puts me through to calibre. I should add that before I began having this problem either of these could connect CC to Calibre. Sometimes either one or the other.

Click image for larger version

Name:	Found_more_than_one_calibre.png
Views:	393
Size:	732.0 KB
ID:	153752

4. The second option connects me to the content server.

Click image for larger version

Name:	Found_more_than_one_content_server.png
Views:	419
Size:	36.4 KB
ID:	153753

5. Results of debugging device detection:

Click image for larger version

Name:	Calibre_Debug_Device_Detection.png
Views:	387
Size:	199.9 KB
ID:	153747

6. Sometimes content server and wireless connection have different addresses, which I read on CC's FAQ page is normal. I make sure the ports are different.

Click image for larger version

Name:	Calibre_different_IP_addresses_and_ports.png
Views:	403
Size:	950.6 KB
ID:	153748

7. I know it won't work but I tried to use the content server's port for the wireless connection. I get this screen, which is what I'm supposed to see if the CC successfully connects via the wireless connection.

Click image for larger version

Name:	What_I_expect_to_see_when_it_connects.png
Views:	368
Size:	775.6 KB
ID:	153755

But of course, this is next:

Click image for larger version

Name:	Content_server_port_for_wireless_connection.png
Views:	439
Size:	728.1 KB
ID:	153749


CC's log file is attached.
calibre.companion.debug.log (1).txt
Wryhder is offline   Reply With Quote