Hi, Thanks a lot Oleg... After trying to connect to http://www.google.com.sa instead of http://www.google.com It works now. It seems that the extra redirect from http://www.google.com to http://www.google.com.sa was responsible of closing the connection.
Many many thanks, -----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 3:04 PM To: HttpClient User Discussion Subject: RE: FW: Proxy Authentication Required On Wed, 2008-01-09 at 14:46 +0300, Fadi M. Maali wrote: > Hi, > I posted below a part of the log. As it is too large I tried to put the > important parts of it -- wish I am really doing this :) -- > The log corresponds to the case where follow redired is set to true. > Here is the log: > Fadi, Actually you do get successfully authenticated with the proxy server. > 750 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 302 > Found[\r][\n]" The target server responds with a redirect response. So, the proxy authentication worked as expected. But while redirecting to the new location, but then for some reason the connection gets closed > 766 [main] DEBUG org.apache.commons.httpclient.HttpConnection - > Releasing connection back to connection manager. > 766 [main] DEBUG org.apache.commons.httpclient.HttpConnection - enter > HttpConnection.close() Since the NTLM authentication is connection based the authentication state gets reset when the connection is closed. In order to solve the problem you have to find out why the connection gets dropped. Hope this helps Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE: CONFIDENTIAL AND LEGAL PRIVILEGE This electronic communication is intended by the sender only for the access and use by the addressee and may contain legally privileged and confidential information. If you are not the addressee, you are notified that any transmission, disclosure, use, access to, storage or photocopying of this e-mail and any attachments is strictly prohibited. The legal privilege and confidentiality attached to this e-mail and any attachments is not waived, lost or destroyed by reason of a mistaken delivery to you. If you have received this e-mail and any attachments in error please immediately delete it and all copies from your system and notify the sender by e-mail. Nothing in this communication is intended to operate as an electronic signature under any applicable law... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
