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


Solutions on the web

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

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

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

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

Solution icon of stackoverflow
via Stack Overflow by Wun
, 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
via Stack Overflow by Mulgard
, 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

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 months ago
595 times, 11 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