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

GitHub | cy10038 | 2 weeks ago
  1. 0

    Sample code fails to connect

    GitHub | 2 weeks ago | cy10038
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  2. 0

    Connection failure

    GitHub | 4 months ago | adheesh24
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  3. 0

    BLE device is not connecting to app

    Stack Overflow | 13 hours ago | Geet S
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bluetooth client-side throws java.io.IOException: read failed, socket might closed or timeout, read ret: -1 on Android 6.0

    Stack Overflow | 3 months ago | Networks
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  6. 0

    Error while sending files through bluetooth in android?

    Stack Overflow | 2 years ago | Java_begins
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

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

    at android.bluetooth.BluetoothSocket.readAll()
  2. Android Platform
    BluetoothSocket.connect
    1. android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:581)
    2. android.bluetooth.BluetoothSocket.waitSocketSignal(BluetoothSocket.java:558)
    3. android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:374)
    3 frames
  3. com.ramimartin.multibluetooth
    BluetoothClient.run
    1. com.ramimartin.multibluetooth.library.bluetooth.client.BluetoothConnector$FallbackBluetoothSocket.connect(BluetoothConnector.java:203)
    2. com.ramimartin.multibluetooth.library.bluetooth.client.BluetoothConnector.connect(BluetoothConnector.java:59)
    3. com.ramimartin.multibluetooth.library.bluetooth.client.BluetoothClient.run(BluetoothClient.java:54)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:841)
    1 frame