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 by Unknown author, 1 year ago
via by Unknown author, 2 years ago
via by Unknown author, 1 year ago read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(
at android.bluetooth.BluetoothSocket.waitSocketSignal(
at android.bluetooth.BluetoothSocket.connect(
at com.example.gauravdubey.myapplication.BluetoothConnector$FallbackBluetoothSocket.connect(
at com.example.gauravdubey.myapplication.BluetoothConnector.connect(
at com.example.gauravdubey.myapplication.MainActivity$1.onItemClick(
at android.widget.AdapterView.performItemClick(
at android.widget.AbsListView.performItemClick(
at android.widget.AbsListView$
at android.widget.AbsListView$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(

Users with the same issue

44 times, 3 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.