java.net.SocketException

recvfrom failed: ETIMEDOUT (Connection timed out)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web57

  • via Stack Overflow by Mukesh Gupta
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out) at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:588) at libcore.io.IoBridge.recvfrom(IoBridge.java:552) at java.net.PlainSocketImpl.read(PlainSocketImpl.java:481) at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37) at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237) at java.io.InputStream.read(InputStream.java:162) at com.nearpeer.app.NewConnectionWorkerThread.SendDiscoveryMessage(NewConnectionWorkerThread.java:426) at com.nearpeer.app.NewConnectionWorkerThread.ActiveDiscoveryProcedure(NewConnectionWorkerThread.java:386) at com.nearpeer.app.NewConnectionWorkerThread.InitiateRelevantActiveTransaction(NewConnectionWorkerThread.java:682) at com.nearpeer.app.NewConnectionWorkerThread.run(NewConnectionWorkerThread.java:78) Caused by: android.system.ErrnoException: recvfrom failed: ETIMEDOUT (Connection timed out) at libcore.io.Posix.recvfromBytes(Native Method) at libcore.io.Posix.recvfrom(Posix.java:189) at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250) at libcore.io.IoBridge.recvfrom(IoBridge.java:549)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    ruberube
    3 times, last one
    ben.slama.jihedben.slama.jihed
    4 times, last one
    dmitrydmitry
    2 times, last one
    Hiren AmaliyarHiren Amaliyar
    Once,
    Unknown UserUnknown User
    Once,
    24 more bugmates