Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 81667 invoked from network); 11 Apr 2003 20:34:30 -0000 Received: from mxout5.cac.washington.edu (140.142.32.135) by daedalus.apache.org with SMTP; 11 Apr 2003 20:34:30 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.12.1+UW03.04/8.12.1+UW02.12) with ESMTP id h3BKYZt7027044 for ; Fri, 11 Apr 2003 13:34:35 -0700 Received: from u.washington.edu (ss05.co.us.ibm.com [32.97.110.70]) (authenticated bits=0) by smtp.washington.edu (8.12.1+UW03.04/8.12.1+UW02.12) with ESMTP id h3BKYU8G007762 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Fri, 11 Apr 2003 13:34:35 -0700 Message-ID: <3E9726C6.7060901@u.washington.edu> Date: Fri, 11 Apr 2003 16:34:14 -0400 From: Michael Becke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030313 Minotaur/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: Commons HttpClient Project Subject: Re: Still problems with HttpRecoverableException and HTTPS References: <12c79a53284e20f3c301994eb0d03b423e96a7e2@fiz-chemie.de> In-Reply-To: <12c79a53284e20f3c301994eb0d03b423e96a7e2@fiz-chemie.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ingo, A few details might be nice. What version of HttpClient are you using? Have you tried with a recent nightly build? Do you have any example code that exploits this problem? There have been quite a few changes as of late, in particular with the way that HTTPS and connection reuse are handled. Though I appreciate the LOG it, does not tell us much other than an attempt to write request headers failed. Mike Ingo Brunberg wrote: > Hi, > > although obviously many attempts have been made to recover from lost > connections, the HttpRecoverableException is still slipping through. I > am using Stunnel (www.stunnel.org) in proxy mode to provide the > encryption. > > The problem occurs when the connection has been idle for some time and > the next request is made. > > Currently this is a serious drawback for our project, so let me know > if you need further help. > > Regards, > Ingo > > Here is the log: > > [TRACE] HttpState - -enter HttpState.getCredentials(String) > [TRACE] HttpState - -enter HttpState.getCredentials(String, String > [TRACE] HttpClient - -enter HttpClient.executeMethod(HttpMethod) > [TRACE] HttpClient - -enter HttpClient.executeMethod(HostConfiguration,HttpMethod) > [TRACE] HttpMethod - -enter HttpMethodBase.execute(HttpState, HttpConnection) > [DEBUG] HttpMethod - -Execute loop try 1 > [TRACE] HttpMethod - -enter HttpMethodBase.processRequest(HttpState, HttpConnection) > [TRACE] HttpMethod - -Attempt number 1 to write request > [TRACE] HttpMethod - -enter HttpMethodBase.writeRequest(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpMethod - -enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection) > [DEBUG] HttpMethod - -Adding Host request header > [TRACE] HttpMethod - -enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection) > [TRACE] HttpState - -enter HttpState.getCookies() > [TRACE] CookieSpec - -enter CookieSpecBase.match(String, int, String, boolean, Cookie[]) > [TRACE] CookieSpec - -enter CookieSpecBase.match(String, int, String, boolean, Cookie > [TRACE] CookieSpec - -enter CookieSpecBase.formatCookieHeader(Cookie) > [TRACE] CookieSpec - -enter RFC2109Spec.formatCookie(Cookie) > [TRACE] CookieSpec - -enter RFC2109Spec.formatCookieAsVer(Cookie) > [TRACE] HttpMethod - -enter HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter getContentCharSet( Header contentheader ) > [TRACE] HeaderElement - -enter HeaderElement.parse(String) > [TRACE] HeaderElement - -enter HeaderElement.parsePair(char[], int, int) > [TRACE] HeaderElement - -enter HeaderElement.parsePair(char[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.print(String) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.writeLine() > [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) > [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) > [TRACE] HttpConnection - -enter HttpConnection.getRequestOutputStream() > [TRACE] HttpMethod - -enter HttpMethodBase.readResponse(HttpState, HttpConnection) > [TRACE] HttpMethod - -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) > [TRACE] HttpConnection - -enter HttpConnection.readLine() > [TRACE] HttpParser - -enter HttpParser.readLine() > [TRACE] HttpParser - -enter HttpParser.readRawLine() > [WARN] HttpMethod - -Recoverable exception caught when reading response > [DEBUG] HttpMethod - -Closing the connection. > [TRACE] HttpConnection - -enter HttpConnection.close() > [TRACE] HttpConnection - -enter HttpConnection.closeSockedAndStreams() > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org >