> I am using HttpURLConnection to send a GET request to a server. Upon
> reading the response code, the Android implementation of
> HttpURLConnection.doRequestInternal() throws an exception:
>
> "java.io.IOException: Received authentication challenge is null"
>
> I don't even get what the error is trying to tell me.

Off the cuff, it would seem as though you're getting a 401 Unauthorized
error, due to a malformed Authorization header.

> This works fine with Sun's Java implementation, so I guess it's a
> problem with Apache Harmony?

That's a distinct possibility.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
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