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

Stack Overflow | Jonathan | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android bluetoothSocket connection error

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

    How to programmatically connect to a Bluetooth device after it's already paired (bonded) in Android

    Stack Overflow | 2 years ago | Donkamints
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  3. 0

    Bluetooth print fails half way in qt android application

    Stack Overflow | 2 years ago
    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

    Unable to read from a Bluetooth socket - Xamarin Forums

    xamarin.com | 1 year ago
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1
  6. 0

    Program does unexpectedly finish and complications with connection to local Bluetooth address

    Stack Overflow | 9 months ago | John
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1

  1. ivotje50 337 times, last 7 months ago
  2. Sooraj Singh 11 times, last 10 months ago
  3. Riyaz 2 times, last 12 months ago
  4. Macapon 10 times, last 1 year ago
4 unregistered visitors
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:739)
    2. android.bluetooth.BluetoothSocket.waitSocketSignal(BluetoothSocket.java:716)
    3. android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:482)
    3 frames
  3. com.example.work
    clientBluetoothConnection.run
    1. com.example.work.dmm.clientBluetoothConnection.run(clientBluetoothConnection.java:65)
    1 frame