java.io.IOException: read failed, socket might closed or timeout, read ret: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Jonathan
, 9 months ago
read failed, socket might closed or timeout, read ret: -1
via Stack Overflow by Игорь Комаров
, 3 months ago
read failed, socket might closed or timeout, read ret: -1
via Stack Overflow by D Liebman
, 2 years ago
read failed, socket might closed or timeout, read ret: -1
via Stack Overflow by AmanS
, 1 year ago
via GitHub by wkeifenheim
, 2 years ago
read failed, socket might closed or timeout, read ret: -1
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:739)
at android.bluetooth.BluetoothSocket.waitSocketSignal(BluetoothSocket.java:716)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:482)
at com.example.work.dmm.clientBluetoothConnection.run(clientBluetoothConnection.java:65)

Users with the same issue

44 times, 2 months ago
305 times, 1 year ago
595 times, 1 year ago
Once, 1 year ago
13 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.