Forum Discussion

kazmin's avatar
14 years ago

Unexpected Message during handshake

Hey all,
I'm connecting to a web service. It successfully reads the wsdl file and creates the methods. However when I run a particular method I get this error in the soap UI log:

"ERROR:Exception in request: javax.net.ssl.SSLException: Received fatal alert: unexpected_message"

and this error in the error log:

"at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)"
(just copying the most important part for bravity)

I'm also trying to integrate to that service with Ruby and this is what I get there:
"SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert unexpected message"

I have tried it under both windows and linux and get the same error.

I talked to the server admin of the service and he told me the server is set to accept sslv3.

I have no idea what the problem is or where it comes from. I am wondering if can I somehow force soapUI to use sslv3?
Any help on solving that issue will be very appreciated.

Regards,
Kazmin

1 Reply

  • It's SSL_UNEXPECTED_MESSAGE Error. The server supports SSLv3, but modern clients like SoapUI and Ruby default to more secure protocols, leading to the "unexpected_message" error. You can try forcing SSLv3 in SoapUI, but it’s better to upgrade the server to support TLS for better security. Also, this guide might help - How to Resolve SSL Unexpected Message Error.