I have done even more research. Solution is to use Proxy.NO_PROXY: HttpURLConnection conn = (HttpURLConnection)mUrl.openConnection(Proxy. NO_PROXY);
On Monday, July 23, 2012 10:02:02 AM UTC+2, Zoran Smilevski wrote: > > Oh yes, thanks. I don't see on Desire APN settings, but when I removed a > proxy from APN on Nexus, response got through. > > Thanks again, you saved me :) > > On Monday, July 23, 2012 9:45:53 AM UTC+2, Johan Appelgren wrote: >> >> Works fine using 3g on my Galaxy Nexus (stock, Android 4.1.1). >> >> Are you testing using the same carrier and APN settings on the Desire and >> Galaxy Nexus? I've had some issues with a bad carrier proxy that garbled >> non-port 80 traffic, fixed by removing the proxy from APN. >> >> On Sunday, July 15, 2012 12:10:02 PM UTC+2, Zoran Smilevski wrote: >>> >>> Hello! >>> >>> I have a problem with posting data when using mobile data network on a >>> port different than 80. This happens only on Galaxy Nexus. I have also >>> reported a bug with detailed description ( >>> http://code.google.com/p/android/issues/detail?id=34769). There is also >>> a demo app so anyone can test this. >>> >>> I was also trying to send a post using a socket, like it's described on >>> http://www.exampledepot.com/egs/java.net/PostSocket.html. In this case >>> everything works fine. >>> >>> I hope that someone will see this and tell me what the hell am I doing >>> wrong or confirm that bug :) >>> >> -- 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

