• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can anyone provide solution for com.rsa.ssl.SSLException: Unknown protocol  RSS feed

 
vipin raimcs
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.bmc.util.socket.PooledSocketInvocationHandler.invoke(PooledSocketInvocationHandler.java:127)

at $Proxy0.connect(Unknown Source)

at com.bmc.util.socket.ConnectionHelper.connect(ConnectionHelper.java:78)

at com.bmc.util.socket.SocketPool.createPooledTimedProxyAndConnect(SocketPool.java:711)

at com.bmc.util.socket.SocketPool.createSecureTimedSocket(SocketPool.java:251)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor$SocketWrapper.<init>(HttpInteractor.java:702)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor.createSocket(HttpInteractor.java:639)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor.main(HttpInteractor.java:664)

Caused by: com.rsa.ssl.SSLException: Unknown protocol

at com.rsa.ssl.common.ClientProtocol.sendHello(Unknown Source)

at com.rsa.ssl.common.ClientProtocol.startHandshake(Unknown Source)

at com.rsa.ssl.SSLSocket.getInputStream(Unknown Source)

at com.bmc.util.socket.BasicSSLSocket.connect(BasicSSLSocket.java:72)

at com.bmc.util.socket.TimedSocketImpl.connect(TimedSocketImpl.java:41)

at com.bmc.util.socket.TimedSocketImpl.connect(TimedSocketImpl.java:33)

... 12 more

com.rsa.ssl.SSLException: Unknown protocol

at com.rsa.ssl.common.ClientProtocol.sendHello(Unknown Source)

at com.rsa.ssl.common.ClientProtocol.startHandshake(Unknown Source)

at com.rsa.ssl.SSLSocket.getInputStream(Unknown Source)

at com.bmc.util.socket.BasicSSLSocket.connect(BasicSSLSocket.java:72)

at com.bmc.util.socket.TimedSocketImpl.connect(TimedSocketImpl.java:41)

at com.bmc.util.socket.TimedSocketImpl.connect(TimedSocketImpl.java:33)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.bmc.util.socket.PooledSocketInvocationHandler.invoke(PooledSocketInvocationHandler.java:127)

at $Proxy0.connect(Unknown Source)

at com.bmc.util.socket.ConnectionHelper.connect(ConnectionHelper.java:78)

at com.bmc.util.socket.SocketPool.createPooledTimedProxyAndConnect(SocketPool.java:711)

at com.bmc.util.socket.SocketPool.createSecureTimedSocket(SocketPool.java:251)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor$SocketWrapper.<init>(HttpInteractor.java:702)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor.createSocket(HttpInteractor.java:639)

at com.bmc.guardianangel.application.webtransaction.webinteraction.HttpInteractor.main(HttpInteractor.java:664)
 
Joseph Macer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couple tips to get help here:
1) Blindly pasting a stack trace isn't going to encourage anyone to spend time & energy to help you if you won't.
2) Use the "code" button in the reply form to surround code, like this:

3) Provide some context for the situation: what were you doing, what does the program do?
4) Google a little. 30 seconds searching for "com.rsa.ssl.SSLException" found the documentation on this error:
http://rsa.me/products/bsafe/documentation/sslj416javadochtml/com/rsa/ssl/SSLException.html
5) There is no "solution" to provide for an error: it requires work on your part to understand and communicate the problem underlying it.

Hope this helps!
 
vipin raimcs
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your opinion and support. Atleast you spended so much time for me and given me useful tips. I will keep this in mind.

But I want to tell you that i cannt provide the code as its of business use. what i am doing, normally trying to create a SSLsocket and trying to access the getINputStream method on it as you can see on down side of exception list.

I googled not for 30 mins but 3-4 days for getting this to solved.

I solved this. Thanks to me and finally google too.

Hey man, thanks to you also.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!