java.io.IOException

read failed, socket might closed or timeout, read ret: -1


Solutions on the web19404

Solution icon of github
read failed, socket might closed or timeout, read ret: -1

Solution icon of github
via GitHub by dogmaphobic
, 9 months ago
read failed, socket might closed or timeout, read ret: -1

Solution icon of github
via GitHub by helios2
, 1 year ago
read failed, socket might closed or timeout, read ret: -1

Solution icon of github
via GitHub by vishal-raj
, 6 months ago
read failed, socket might closed or timeout, read ret: -1

Solution icon of googlegroups
via Google Groups by Amit Kumar, 7 months ago
read failed, socket might closed or timeout, read ret: -1

Solution icon of stackoverflow
via Stack Overflow by Paul_D
, 1 year ago
read failed, socket might closed or timeout, read ret: -1

Solution icon of stackoverflow
read failed, socket might closed or timeout, read ret: -1

Solution icon of stackoverflow
read failed, socket might closed or timeout, read ret: -1

Solution icon of stackoverflow
read failed, socket might closed or timeout, read ret: -1

Solution icon of web
read failed, socket might closed or timeout, read ret: -1

Stack trace

  • 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)

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

2 times, 3 weeks ago
595 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
40 times, 1 year ago
2 times, 1 year ago
13 more bugmates