hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Johnson <sjohn...@mercury.com>
Subject client side cert issue, maybe. HTTPClient version 2
Date Tue, 14 Dec 2004 21:46:31 GMT
Hi All,

 

HTTPClient version 2

 

Wondering if anyone has seen something like this. I realize it could have many causes.

URL is client side cert; we get connected and receive a 302 redirect page from server.

We send the request for the next page, see Wire debug below.

I run socket.available(), it returns 0 bytes avaibable.

Then the socket reestablished the SSL credentials. 

When the page is read we get a 403 Forbidden from the server.

 

WE WRITE REQUEST AND GET 302 WITH NO BREAK ON THE CONNECTION

--------------------------------------------------------------------------------------------------------------
---------

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream()

HTTPRequest /SiteScope/cgi/go.exe/SiteScope, WRITE: SSLv3 Application Data, length = 162

2004/12/14 14:15:54:437 GMT-07:00 [DEBUG] wire - ->> "[\r][\n]"

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream()

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpMethodBase - -enter HttpMethodBase.readResponse(HttpState,
HttpConnection)

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpMethodBase - -enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.readLine()

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpParser - -enter HttpParser.readLine()

2004/12/14 14:15:54:437 GMT-07:00 [TRACE] HttpParser - -enter HttpParser.readRawLine()

HTTPRequest /SiteScope/cgi/go.exe/SiteScope, READ: SSLv3 Application Data, length = 368

2004/12/14 14:15:54:516 GMT-07:00 [DEBUG] wire - -<< "HTTP/1.1 302 Moved Temporarily[\r][\n]"

2004/12/14 14:15:54:516 GMT-07:00 [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)

 

 

WE WRITE NEXT REQUEST AND THERE ARE 0 BYTES TO READ, SSL STUFF HAPPENS, THEN A 403 FROM SERVER.

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream()

HTTPRequest /SiteScope/cgi/go.exe/SiteScope, WRITE: SSLv3 Application Data, length = 319

2004/12/14 14:15:58:015 GMT-07:00 [DEBUG] wire - ->> "[\r][\n]"

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream()

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpMethodBase - -enter HttpMethodBase.readResponse(HttpState,
HttpConnection)

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpMethodBase - -enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpConnection - -enter HttpConnection.readLine()

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpParser - -enter HttpParser.readLine()

2004/12/14 14:15:58:015 GMT-07:00 [TRACE] HttpParser - -enter HttpParser.readRawLine()

HTTPRequest /SiteScope/cgi/go.exe/SiteScope, READ: SSLv3 Handshake, length = 20

*** HelloRequest (empty)

%% Client cached [Session-2, SSL_RSA_WITH_RC4_128_MD5]

%% Try resuming [Session-2, SSL_RSA_WITH_RC4_128_MD5] from port 2006

*** ClientHello, SSLv3

 

403 PAGE AFTER THIS:

 

any ideas? Suggestions?

Thanks,

 

Steve Johnson, Software Engineer, sjohnson@mercury.com

direct 720.564.6532 

www.mercury.com <http://www.mercury.com/>  

 <http://www.mercury.com/> 

 <http://www.mercury.com/>  

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message