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 Meng Kry
, 1 year ago
read failed, socket might closed or timeout, read ret: -1
via GitHub by emwalters
, 2 years ago
read failed, socket might closed or timeout, read ret: -1
via xamarin.com by Unknown author, 2 years ago
read failed, socket might closed or timeout, read ret: -1
via GitHub by dogmaphobic
, 1 year ago
read failed, socket might closed or timeout, read ret: -1
via Stack Overflow by Mansi Bhatt
, 1 year ago
read failed, socket might closed or timeout, read ret: -1
via Stack Overflow by HMdev
, 3 months 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:900)	at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:912)	at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:531)	at edu.psu.ee.bluetooth.btDevices.openBT(btDevices.java:102)	at edu.psu.ee.bluetooth.btDevices$2.onItemClick(btDevices.java:81)	at android.widget.AdapterView.performItemClick(AdapterView.java:345)	at android.widget.AbsListView.performItemClick(AbsListView.java:1547)	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3821)	at android.widget.AbsListView$3.run(AbsListView.java:5843)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7229)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)