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

java.io.EOFException: \n in not found inside commandclient.java when working against softap-emulator #59

Open
jensck opened this issue Feb 14, 2019 · 0 comments
Labels
DeviceSetupLib Issues specific to the Device Setup Library

Comments

@jensck
Copy link
Contributor

jensck commented Feb 14, 2019

Original issue: particle-iot/spark-setup-android#52


CommandClient.Java line 126 is calling buffer.readUtf8LineStrict, which fails on the response received from the softap-emulator. I don't think there's a need to read the headers from the response as the TCP client doesn't set any headers. Does anyone know why does it read the headers here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeviceSetupLib Issues specific to the Device Setup Library
Projects
None yet
Development

No branches or pull requests

1 participant