java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)


Solutions on the web

Solution icon of github
via GitHub by bryan-y88
, 8 months ago
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of stackoverflow
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of web
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of web
via igniterealtime.org by Unknown author, 8 months ago
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of github
recvfrom failed: ETIMEDOUT (Connection timed out)

Stack trace

java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
	at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:592)
	at libcore.io.IoBridge.recvfrom(IoBridge.java:556)
	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
	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.example.musicsaround.speaker.ClientSocketHandler.run(ClientSocketHandler.java:69)
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:185)
	at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
	at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
	... 5 more

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

3 times, 8 months ago
Once, 4 months ago
Once, 9 months ago
187 times, 1 year ago
13 times, 1 year ago
24 more bugmates