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

time out issue each time while sending data via WIFI #2

Open
CyborgRahil opened this issue Feb 25, 2016 · 3 comments
Open

time out issue each time while sending data via WIFI #2

CyborgRahil opened this issue Feb 25, 2016 · 3 comments

Comments

@CyborgRahil
Copy link

       java.net.ConnectException: failed to connect to /192.168.5.111 (port 50000): connect failed: ETIMEDOUT (Connection timed out)
                                                         at libcore.io.IoBridge.connect(IoBridge.java:124)
                                                         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
                                                         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:163)
                                                         at java.net.Socket.startupSocket(Socket.java:590)
                                                         at java.net.Socket.tryAllAddresses(Socket.java:128)
                                                         at java.net.Socket.<init>(Socket.java:178)
                                                         at java.net.Socket.<init>(Socket.java:150)
                                                         at io.underdark.util.nslogger.NSLogger.connectImpl(SourceFile:163)
                                                         at io.underdark.util.nslogger.NSLogger.access$100(SourceFile:40)
                                                         at io.underdark.util.nslogger.NSLogger$2.run(SourceFile:152)
                                                         at android.os.Handler.handleCallback(Handler.java:739)
                                                         at android.os.Handler.dispatchMessage(Handler.java:95)
                                                         at android.os.Looper.loop(Looper.java:135)
                                                         at io.underdark.util.dispatch.DispatchQueue$2.run(SourceFile:82)
                                                         at java.lang.Thread.run(Thread.java:818)
                                                      Caused by: android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
                                                         at libcore.io.Posix.connect(Native Method)
                                                         at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111)
                                                         at libcore.io.IoBridge.connectErrno(IoBridge.java:137)
                                                         at libcore.io.IoBridge.connect(IoBridge.java:122)
                                                         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 
                                                         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:163) 
                                                         at java.net.Socket.startupSocket(Socket.java:590) 
                                                         at java.net.Socket.tryAllAddresses(Socket.java:128) 
                                                         at java.net.Socket.<init>(Socket.java:178) 
                                                         at java.net.Socket.<init>(Socket.java:150) 
                                                         at io.underdark.util.nslogger.NSLogger.connectImpl(SourceFile:163) 
                                                         at io.underdark.util.nslogger.NSLogger.access$100(SourceFile:40) 
                                                         at io.underdark.util.nslogger.NSLogger$2.run(SourceFile:152) 
                                                         at android.os.Handler.handleCallback(Handler.java:739) 
                                                         at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                         at android.os.Looper.loop(Looper.java:135) 
                                                         at io.underdark.util.dispatch.DispatchQueue$2.run(SourceFile:82) 
                                                         at java.lang.Thread.run(Thread.java:818) 
@virl
Copy link
Contributor

virl commented Feb 25, 2016

Please describe conditions under which this issue appears.

@CyborgRahil
Copy link
Author

This issue occurs upto 7 times out of ten when we try to send data from one device to another.After calling sendFrame() .

@virl
Copy link
Contributor

virl commented Feb 26, 2016

Please describe what devices are you using, what android versions, what wi-fi config, and in what state is the app on the devices. Does issue reproduces with demo UDApp?

Come on people, I'm not a telepath. :)

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

2 participants