Fix "javax.net.ssl.SSLException: Unsupported record version Unknown" error

Description

Sometimes clients are not able to secure a connection using TLS. This problem also affects s2s.

Environment

None

Activity

Show:

Srgjan Srepfler June 6, 2006 at 10:30 PM

We still seem to be having this problem even with the daily build from 2006-06-06. We are connecting to wildfire from the Mule 1.3-rc ESB and we're seeing random results wich is very frustrating. Please help! At least advise where we can put some sleeps (although putting sleep in a application container gives me the chills). Shoudn't this issue to be addressed in the Smack library as discussed here http://www.jivesoftware.org/community/thread.jspa?messageID=119537&#119537 and here http://www.jivesoftware.org/community/thread.jspa?threadID=19926&tstart=0 ? Could it be that this error happens because Mule builds with Smack 1.5 http://www.jivesoftware.org/community/thread.jspa?threadID=20092&tstart=0 ?

Gaston Dombiak May 4, 2006 at 10:22 AM

It was a timing issue. The server was sending <proceed> and then started to build the TLS setup. Clients where sometimes faster than the server and started to request TLS and the server then responded that TLS was not supported. The solution is to build the TLS setup first, then send the <proceed> and finally start the handshake.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created May 4, 2006 at 10:16 AM
Updated June 6, 2006 at 10:30 PM
Resolved May 4, 2006 at 10:22 AM