augie/tranche

Sometimes Can't Recover From Purged Callbacks

Closed this issue · 1 comments

Flaky Internet connections can't recover after purged callbacks.

---------------------------------------------------------------------

Hi.

I'm trying to update from the code that was in your trancheproject repo 
(which was working fine, if a bit slowly), to the download from google 
code.  I'm getting the exceptions below, reproducibly.

I'm using an older tranche.conf (attached), because the distro from google 
code doesn't seem to have one.  I want to let users change this out for 
their own, if they're using their own Tranche network.  This may be part of 
the problem.

I'm going to roll back to the older code for the time being.

Any help you could offer would be most appreciated.

-c



org.tranche.exceptions.PropagationUnfulfillableHostException: The host is 
unreachable. First verify that the server is online, then try a different 
propagation strategy.
       at 
org.tranche.server.PropagationExceptionWrapper.<init>(PropagationExceptionW
rapper.java:181)
       at 
org.tranche.server.PropagationReturnWrapper.<init>(PropagationReturnWrapper
.java:80)
       at 
org.tranche.server.PropagationReturnWrapper.createFromBytes(PropagationRetu
rnWrapper.java:282)
       at 
org.tranche.remote.RemoteTrancheServer.setData(RemoteTrancheServer.java:162
0)
       at org.tranche.util.IOUtil.setData(IOUtil.java:568)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.upload(AddFileTool.java:261
8)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.run(AddFileTool.java:2720)
java.io.IOException: The host is unreachable. First verify that the server 
is online, then try a different propagation strategy.
       at 
org.tranche.server.PropagationExceptionWrapper.<init>(PropagationExceptionW
rapper.java:187)
       at 
org.tranche.server.PropagationReturnWrapper.<init>(PropagationReturnWrapper
.java:80)
       at 
org.tranche.server.PropagationReturnWrapper.createFromBytes(PropagationRetu
rnWrapper.java:282)
       at 
org.tranche.remote.RemoteTrancheServer.setData(RemoteTrancheServer.java:162
0)
       at org.tranche.util.IOUtil.setData(IOUtil.java:568)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.upload(AddFileTool.java:261
8)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.run(AddFileTool.java:2720)
org.tranche.exceptions.PropagationUnfulfillableHostException: The host is 
unreachable. First verify that the server is online, then try a different 
propagation strategy.
       at 
org.tranche.server.PropagationExceptionWrapper.<init>(PropagationExceptionW
rapper.java:181)
       at 
org.tranche.server.PropagationReturnWrapper.<init>(PropagationReturnWrapper
.java:80)
       at 
org.tranche.server.PropagationReturnWrapper.createFromBytes(PropagationRetu
rnWrapper.java:282)
       at 
org.tranche.remote.RemoteTrancheServer.setData(RemoteTrancheServer.java:162
0)
       at org.tranche.util.IOUtil.setData(IOUtil.java:568)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.upload(AddFileTool.java:261
8)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.run(AddFileTool.java:2720)
java.security.GeneralSecurityException: Security error.
       at 
org.tranche.server.PropagationExceptionWrapper.<init>(PropagationExceptionW
rapper.java:134)
       at 
org.tranche.server.PropagationReturnWrapper.<init>(PropagationReturnWrapper
.java:80)
       at 
org.tranche.server.PropagationReturnWrapper.createFromBytes(PropagationRetu
rnWrapper.java:282)
       at 
org.tranche.remote.RemoteTrancheServer.setData(RemoteTrancheServer.java:162
0)
       at org.tranche.util.IOUtil.setData(IOUtil.java:568)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.upload(AddFileTool.java:261
8)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.run(AddFileTool.java:2720)
org.tranche.exceptions.PropagationUnfulfillableHostException: The host is 
unreachable. First verify that the server is online, then try a different 
propagation strategy.
       at 
org.tranche.server.PropagationExceptionWrapper.<init>(PropagationExceptionW
rapper.java:181)
       at 
org.tranche.server.PropagationReturnWrapper.<init>(PropagationReturnWrapper
.java:80)
       at 
org.tranche.server.PropagationReturnWrapper.createFromBytes(PropagationRetu
rnWrapper.java:282)
       at 
org.tranche.remote.RemoteTrancheServer.setData(RemoteTrancheServer.java:162
0)
       at org.tranche.util.IOUtil.setData(IOUtil.java:568)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.upload(AddFileTool.java:261
8)
       at 
org.tranche.add.AddFileTool$DataUploadingThread.run(AddFileTool.java:2720)
Callback id #85(GetBytesCallback) for tranche://136.165.45.161:1045 timed 
out and purged at January 26 2010, 06:13:49.962 PM; Reason: Callback and 
server timed out

Original issue reported on code.google.com by augma...@gmail.com on 27 Jan 2010 at 3:52

Difficult to replicate. Made changes that alleviate the problem somewhat.

Original comment by augma...@gmail.com on 10 Mar 2010 at 7:45

  • Changed state: Fixed