connection.connect();
        OutputStream os = connection.getOutputStream();
        os.write(requestData, 0, requestData.length);
        os.flush();
        os.close();
        InputStream is;
        connection.connect();

seems like u have two connection attempts why do u need two connects, and
there is one disconnect at the end of test connection. I am not sure what
happens with two connect requests. I am not so familiar with httpconnection
yet but looking at code this is what I found. May be its not relevant.

Sen

On Fri, Feb 12, 2010 at 10:12 AM, Michael Rueger <mike.rue...@gmail.com>wrote:

>
> Hi all,
>
> last time from me for now ;-)
>
> I've uploaded a tiny test project here
> http://impara.de/michael/TestSSL.zip
>
> that demonstrates every other request failing to work.
>
> For now I will hack some ugly workaround simply repeating the request if
> the first one fails.
>
> It must be something really stupid I'm doing wrong as I can't really
> imagine that nobody else is using https connections.
>
> Michael
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to