I am trying to connect Solace using my Java code
properties.setProperty(JCSMPProperties.HOST, "XXXXXXXXXX:80");
properties.setProperty(JCSMPProperties.USERNAME, "USERNAME");
properties.setProperty(JCSMPProperties.PASSWORD, "PASSWORD");
properties.setProperty(JCSMPProperties.VPN_NAME, "VPN_NAME");
//properties.setProperty(JCSMPProperties.)
final JCSMPSession session = JCSMPFactory.onlyInstance().createSession(properties);
session.connect();
while connecting I am getting the following error and I have no clue as of why.
Error communicating with the router. cause: java.io.IOException: Could not read valid SMF Header from network. found smf version=0
Caused by: java.io.IOException: Could not read valid SMF Header from network. found smf version=0
Can someone please explain me why we get this error. Thanks in advance.