I'm getting this error when using Retrofit 2.0 at the onFailure method. I'm trying to communicate with a REST webservice and can't receive the json formatted response. I already verified that the json response is valid in different json validators online and adjusted the webconfig of the service to handle an appropriate request/response size and I'm also getting nothing using the Advanced Rest Client from Firefox (no response and no timeout). These are some details from the Throwable object in Android Studio:
cause = {EOFException@831563081000} "java.io.EOFException: \n not found: size=0 content=..." suppressedExceptions = {Collections$EmptyList@831559789744} size = 0
I think this is telling it is related with some invalid character in the json object, but, again, the validation on my json should be fine.
Any help may help.