Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send file client issue #5

Open
atavism opened this issue May 7, 2014 · 0 comments
Open

Send file client issue #5

atavism opened this issue May 7, 2014 · 0 comments
Assignees

Comments

@atavism
Copy link

atavism commented May 7, 2014

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
@atavism atavism self-assigned this May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant