Open GoogleCodeExporter opened 9 years ago
[deleted comment]
same issue here with different version - GAE 1.8.6 SDK and
google-http-client-android-1.16.0-rc.jar.
11-07 13:33:26.479: W/System.err(29365): java.io.EOFException
11-07 13:33:26.489: W/System.err(29365): at
libcore.io.Streams.readAsciiLine(Streams.java:203)
11-07 13:33:26.489: W/System.err(29365): at
libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
11-07 13:33:26.489: W/System.err(29365): at
libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
11-07 13:33:26.489: W/System.err(29365): at
libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:27
4)
11-07 13:33:26.489: W/System.err(29365): at
libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.jav
a:486)
11-07 13:33:26.494: W/System.err(29365): at
libcore.net.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.j
ava:134)
11-07 13:33:26.494: W/System.err(29365): at
com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:3
7)
11-07 13:33:26.494: W/System.err(29365): at
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:94
)
11-07 13:33:26.494: W/System.err(29365): at
com.google.api.client.http.HttpRequest.execute(HttpRequest.java:964)
11-07 13:33:26.494: W/System.err(29365): at
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnp
arsed(AbstractGoogleClientRequest.java:410)
11-07 13:33:26.499: W/System.err(29365): at
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnp
arsed(AbstractGoogleClientRequest.java:343)
11-07 13:33:26.499: W/System.err(29365): at
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(Ab
stractGoogleClientRequest.java:460)
Original comment by Asaf...@gmail.com
on 7 Nov 2013 at 11:43
I had the same issue and I resolved by reorganizing the code, but I don't know
what exactly fixed it, (and sorry I can't rollback at the moment...):
- added the correct intent-filter for the service
- used only local variables for the client endpoint models (i.e. don't use the
same model twice)
- removed LocalBroadcastManager at all, that was used for returning the result.
hope it may help
Original comment by francesc...@gmail.com
on 2 Feb 2014 at 6:52
I am getting the same issue with NetHttpTransport on Android 4.1. I switched to
ApacheHttpTransport and the issue was gone.
Original comment by ykph...@gmail.com
on 7 Feb 2014 at 2:36
I switched to ApacheHttpTransport but I started facing other exceptions like
javax.net.ssl.SSLException: Write error: ssl, javax.net.ssl.SSLException: Read
error: ssl etc. It happens generally when switch from 4G to wifi or wifi to 4G.
Original comment by uttamgu...@gmail.com
on 13 Feb 2015 at 1:41
Original issue reported on code.google.com by
supp...@stacktype.com
on 10 Jun 2013 at 4:35