I don't know if this will help, but I had a similar problem a while back. Only in my case, it worked in the newer versions of Android, but not in the older versions. After consulting with the people running the server that I was trying to connect to, I found the problem. In the header, I was sending:
"Authorization": "Bearer XXXXXXXXXXXXXXXXXXXXXXXXXX", but they were receiving: "authorization": "Bearer XXXXXXXXXXXXXXXXXXXXXXXXXX", For some reason, the earlier versions of Android were converting 'Authorization' to 'authorization' and the particular host that I was talking to did not accept the lowercase version. The fix was to get the server to accept both. I don't know if this has anything to do with your problem, buy you might want to consider if the case of your request is correct. On Monday, January 21, 2013 4:00:47 AM UTC-8, AndroidDev wrote: > > Hello Friends, > > I have a http post basic authentication webservice. I used > HttpURLConnection and all thing work fine before Android version Jelly > Bean. In Jelly Bean its give a run time exception " No authentication > challenges found". I have try all thing but not got exact solution. Kindly > help me. I will appreciate your great help. > > Thanks > -- 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