Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2014, 07:38 PM   #31
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by chaley View Post
The CC debug log is empty.
I just sent it again from both yahoo and gmail.
Purple Lady is offline   Reply With Quote
Old 10-20-2014, 03:29 AM   #32
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: 12,345
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I just sent it again from both yahoo and gmail.
I received the one sent via gmail. The one sent via yahoo arrived empty.

The log tells me what is happening, but it doesn't explain why. What I see:

1) CC does a quick check to see if the IP address in settings is visible.
Code:
2014-10-19 13:23:12.231:  Networking: checking if connect possible to ip:port xxxxx
2014-10-19 13:23:12.248:  Networking: Can connect to xxxxx
We see that this check succeeds. Some machine answers to that address. We also see that it succeeds very quickly, in 17 milliseconds, so we can assume that the machine is rather "close".

2) Because the check succeeded, CC does not do an automatic scan.

3) CC next tries to connect "for real".
Code:
2014-10-19 13:23:12.262:  ContentServer: creating connection to http://xxxxx:pppp/
This connection also succeeds in that something accepts the connection.

4) The machine that accepted the connection is mute, not answering CC's requests within two minutes.
Code:
2014-10-19 13:25:12.305:  ContentServer: Target auth state: UNCHALLENGED
2014-10-19 13:25:12.306:  ContentServer: Target auth scheme: null
2014-10-19 13:25:12.308:  ContentServer: Target status code:408
2014-10-19 13:25:12.310:  ContentServer: header: Content-Length: 0:Content-Length:0
2014-10-19 13:25:12.312:  ContentServer: header: Content-Type: text/plain:Content-Type:text/plain
2014-10-19 13:25:12.313:  OPDS: general connection failure: Server refused request: error code 408
Error code 408 is "timeout".

So, what we have is some machine accepting connections for your external IP address but not responding to queries on that connection. My guess is that your router is accepting the connections for some reason, but is unable to forward the connection or information to your server.

You can probably work around this by putting the internal IP address of your server into the first address box and the external IP address into the second address box. When connected by wifi to your local network, the internal address will (should) work. When connected to your carrier, the first address will fail because it is a private IP address, so CC will fall over to the second, external, address.

We can't do anything about falling back to automatic because as far as CC is concerned there is a computer out there answering connection requests. CC doesn't know that it is connecting to a black hole.
chaley is offline   Reply With Quote
Advert
Old 10-20-2014, 02:04 PM   #33
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by chaley View Post
I received the one sent via gmail. The one sent via yahoo arrived empty.

The log tells me what is happening, but it doesn't explain why. What I see:

1) CC does a quick check to see if the IP address in settings is visible.
Code:
2014-10-19 13:23:12.231:  Networking: checking if connect possible to ip:port xxxxx
2014-10-19 13:23:12.248:  Networking: Can connect to xxxxx
We see that this check succeeds. Some machine answers to that address. We also see that it succeeds very quickly, in 17 milliseconds, so we can assume that the machine is rather "close".

2) Because the check succeeded, CC does not do an automatic scan.

3) CC next tries to connect "for real".
Code:
2014-10-19 13:23:12.262:  ContentServer: creating connection to http://xxxxx:pppp/
This connection also succeeds in that something accepts the connection.

4) The machine that accepted the connection is mute, not answering CC's requests within two minutes.
Code:
2014-10-19 13:25:12.305:  ContentServer: Target auth state: UNCHALLENGED
2014-10-19 13:25:12.306:  ContentServer: Target auth scheme: null
2014-10-19 13:25:12.308:  ContentServer: Target status code:408
2014-10-19 13:25:12.310:  ContentServer: header: Content-Length: 0:Content-Length:0
2014-10-19 13:25:12.312:  ContentServer: header: Content-Type: text/plain:Content-Type:text/plain
2014-10-19 13:25:12.313:  OPDS: general connection failure: Server refused request: error code 408
Error code 408 is "timeout".

So, what we have is some machine accepting connections for your external IP address but not responding to queries on that connection. My guess is that your router is accepting the connections for some reason, but is unable to forward the connection or information to your server.

You can probably work around this by putting the internal IP address of your server into the first address box and the external IP address into the second address box. When connected by wifi to your local network, the internal address will (should) work. When connected to your carrier, the first address will fail because it is a private IP address, so CC will fall over to the second, external, address.

We can't do anything about falling back to automatic because as far as CC is concerned there is a computer out there answering connection requests. CC doesn't know that it is connecting to a black hole.
I will try putting in the second address box when I get home. Did the Calibre log I sent you show anything? I cancelled the connect after 30-45 seconds because it was obvious it wasn't working.

I just sent you the debug log again from K-9 mail and attached a 2nd copy of the debug log manually to see if it is attached properly. Maybe the auto attach only works using the gmail app.
Purple Lady is offline   Reply With Quote
Old 10-21-2014, 06:19 AM   #34
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: 12,345
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I will try putting in the second address box when I get home. Did the Calibre log I sent you show anything? I cancelled the connect after 30-45 seconds because it was obvious it wasn't working.
The calibre logs don't show content server connections, so I couldn't tell anything from them. You can see content server logs by going to Preferences / sharing over the net and pressing the "View server logs" button.
Quote:
I just sent you the debug log again from K-9 mail and attached a 2nd copy of the debug log manually to see if it is attached properly. Maybe the auto attach only works using the gmail app.
The first attachment was a mimetype header with no data. The second attachment was there.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Three New Releases Terry Odell Self-Promotions by Authors and Publishers 0 09-26-2011 04:12 PM
Two New Releases - Maybe More To Come? stevensavile Self-Promotions by Authors and Publishers 6 01-07-2011 01:02 PM
Beta Beta Test of Major New Features Starson17 Calibre 45 05-17-2010 10:55 AM
dotReader releases first public beta Alexander Turcic Reading and Management 4 11-23-2006 01:40 AM


All times are GMT -4. The time now is 07:34 PM.


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