HTTP CONNECT method fails while using Java 1.4 or 1.5

Solution

Overview

In an explicit deployment, a java application using JRE 1.4 or 1.5 might fail when attempting to issue an HTTP CONNECT method to the ProxySG.

The ProxySG returns the error "HTTP/1.1 400 Bad Request"

This issue occurs due to an error with JRE, where a "Content-Length" request is issued when it shouldn't be.

Example:

============================================
CONNECT secure.website.com:443 HTTP/1.1
Content-Type: Text/xml; charset="utf-8"
Content-length: 145120
User-Agent: Java/1.4.2_06
Host: secure.website.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
============================================

 

Related documents:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6356776

 

Cause
Resolution

Option 1) Upgrade your JRE client to the latest version.

Option 2) Enable Tolerant-request-parsing (000015457) so that the Blue Coat will 'tolerate' bad requests.

Workaround
Additional Information
Bug Number
InQuira Doc IdKB3917
Attachment

Article Feedback

Did this Article solve your issue?
Additional Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat