Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W/System.err: java.io.IOException: read failed, socket might closed or timeout, read ret: -1 #18

Open
amitsharmarepos opened this issue Feb 20, 2019 · 2 comments

Comments

@amitsharmarepos
Copy link

Hello Imran,

Thanks for your your solution. Please do let me know what is the issue

02-20 14:22:43.443 29100-29229/infixsoft.imrankst1221.printer W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback
02-20 14:22:43.686 29100-29229/infixsoft.imrankst1221.printer W/System.err: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:740)
at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:752)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:374)
at infixsoft.imrankst1221.printer.DeviceList$2.run(DeviceList.java:245)
02-20 14:22:43.687 29100-29229/infixsoft.imrankst1221.printer W/System.err: at java.lang.Thread.run(Thread.java:818)

Please do let me the solution.
Thanks
Amit

@helloail
Copy link

same with me

@helloail
Copy link

Hello Imran,

Thanks for your your solution. Please do let me know what is the issue

02-20 14:22:43.443 29100-29229/infixsoft.imrankst1221.printer W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback
02-20 14:22:43.686 29100-29229/infixsoft.imrankst1221.printer W/System.err: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:740)
at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:752)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:374)
at infixsoft.imrankst1221.printer.DeviceList$2.run(DeviceList.java:245)
02-20 14:22:43.687 29100-29229/infixsoft.imrankst1221.printer W/System.err: at java.lang.Thread.run(Thread.java:818)

Please do let me the solution.
Thanks
Amit

Did you fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants