Hi all. I'm using the following code to connect to a server and retrieve some data:
HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection(); InputStream ins = con.getInputStream(); The code works, until I leave the app for a few minutes. Then when I return to it and make the next request, I get an IOException from the getInputStream() method: Broken Pipe. Once it's failed, it immediately works again, and will work repeatedly, until it's left for any period of time. I have searched around a bit, but not found a solution. I have no idea if this is Android specific, or Java, but it doesn't happen on my desktop test version. Any ideas? -- 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

