Skip to content

Send file client issue #5

Description

@atavism

There's occasions where connectivity succeeds between peers, 5-tuples are returned on both sides, but the send file transfer test fails. ICE debugging confirms the connection is established, and I can use netcat to validate messages can be exchanged, but the file transfer still terminates prematurely, and the error involves the delegation to some random port.

Full output:

Inside Coffee Bean, peer 1 as answerer
NATTY RESPONSE {"local":"192.168.180.17:51889","proto":"udp","remote":"107.170.244.214:51539","type":"5-tuple"}
peer 2 (offerer)
NATTY RESPONSE {"local":"107.170.244.214:51539","proto":"udp","remote":"24.43.23.102:59965","type":"5-tuple"}
0      2014-05-07 20:04:28,790 DEBUG [Thread-3] natty.Natty.run (Natty.java:249) - Sending file!!
6      2014-05-07 20:04:28,796 DEBUG [Thread-3] natty.SendFileClient.run (SendFileClient.java:39) - Starting send file client... from natty://107.170.244.214:51539 to natty://24.43.23.102:59965
209    2014-05-07 20:04:28,999 DEBUG [Thread-3] natty.SendFileClient.run (SendFileClient.java:59) - Binding to port 51539
340    2014-05-07 20:04:29,130 DEBUG [connect-0] natty.SendFileClientHandler.<init> (SendFileClientHandler.java:34) - Sending file!!
381    2014-05-07 20:04:29,171 DEBUG [connect-0] natty.SendFileClientHandler.<init> (SendFileClientHandler.java:47) - SENT FILE!!
385    2014-05-07 20:04:29,175 DEBUG [connect-0] natty.SendFileClientHandler.<init> (SendFileClientHandler.java:34) - Sending file!!
391    2014-05-07 20:04:29,181 DEBUG [connect-0] natty.SendFileClientHandler.<init> (SendFileClientHandler.java:47) - SENT FILE!!
3412   2014-05-07 20:04:32,202 WARN  [connect-0] nio.SelectionKeyUDT.logError (SelectionKeyUDT.java:436) - logic error : 
    [id: 0x2aa72ca3] poll=ERROR_WRITE ready=---- inter=-C-- STREAM CONNECTOR CONNECTING bind=/0.0.0.0:36774 peer=null:0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions