Ok so I made a few tests and: 1. The solution provided by Street of boston doesn't work, at least fior me. It seems that the RetryHandler is never called and I cannot figure out why 2. I saw nothing unusual with tcpdump, so I think it is not a DNS lookup issue 3. Funny thing, the REST server returns me a JSON response and I discovered that for those with a size less than 8KB, my code works fine! Why? That is the question!
On Tuesday, November 6, 2012 4:17:19 PM UTC+1, Thomas Bouron wrote: > > Thanks guys, I'll try that keep you updated. > > On Tuesday, November 6, 2012 3:58:32 PM UTC+1, Nikolay Elenkov wrote: >> >> On Tue, Nov 6, 2012 at 11:36 PM, Thomas Bouron <[email protected]> wrote: >> > Here is my code with AndroidHttpClient: >> > >> ... >> > >> > And my code with HttpURLConnection: >> > >> > >> >> Looks OK, so most probably it's some network issue. Use tcpdump, etc. in >> you >> work environment to see exactly what is going on, and if it is indeed >> a DNS issue >> (although what you are getting there might be unrelated). Also try to >> find out what >> is common between the users that are having the issue (same area, >> carrier, >> device, Android version, etc.) >> >> HTH >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

