RE: https digest request failing with security exception

2017-04-01 Thread David Thielen
Thank you! -Original Message- From: Bindul Bhowmik [mailto:bindulbhow...@gmail.com] Sent: Friday, March 31, 2017 3:17 PM To: HttpClient User Discussion Subject: Re: https digest request failing with security exception David, On Fri, Mar 31, 2017 at 1:23 PM, David Thielen wrote: >

RE: https digest request failing with security exception

2017-03-31 Thread David Thielen
Subject: Re: https digest request failing with security exception Dave, On Fri, Mar 31, 2017 at 11:21 AM, David Thielen wrote: > I have some simple code that does what I think is a correct & basic request > to read the url https://httpbin.org/digest-auth/auth/user/passwd > > Readi

https digest request failing with security exception

2017-03-31 Thread David Thielen
I have some simple code that does what I think is a correct & basic request to read the url https://httpbin.org/digest-auth/auth/user/passwd Reading that url in a browser works fine. But the code throws: Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.Valid

Is HttpClient thread safe?

2016-12-31 Thread David Thielen
I am using the Apache HttpClient to read files from a website. When we do multiple requests at once, it appears that it will not read any more from the earlier CloseableHttpResponse.getEntity() streams. No error or anything, but it truncates the file. Is this expected? And if so, is there a lib

Suggested improvement for digest authentication sample

2016-12-29 Thread David Thielen
The code at http://stackoverflow.com/questions/41337576/apache-http-client-sample-failing-for-digest-authentication/41362679#41362679 I added putting in a cookie and that apparently is needed for it to work. Thanks - dave

HttpClient request using Digest fails under Fiddler

2016-12-29 Thread David Thielen
If I run the HttpClient Digest authentication sample (as modified here), it works. But if I run it using Fiddler (uncomment the line .setProxy(new HttpHost("127.0.0.1",

http client sample failing for Digest authentication

2016-12-27 Thread David Thielen
I am running the sample for digest authentication. I didn't change anything, just using the provided sample and I am getting the error "HTTP/1.1 401 UNAUTHORIZED" If I go direct to http://httpbin.org/digest-auth/auth/user/passwd in prompts me for user/passwd and then provides the page. So the w