[SWiftMQv4.6.0] SwiftMQ refuse connections
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   wendy_wang
Posted On:   Wednesday, October 22, 2003 03:05 PM

Sometimes our JMS Client could not open a connection to the SwiftMQ server due to 1) Javax.jms.JMSException:error creating socket connection to "our swiftmq server host:port", message: Received fatal alert: handshake_failure(no cipher suites in common) at com.swiftmq.jms.v400.ConnectionFactoryImpl.createServerConnection(Unknown Source) at com.swiftmq.jms.v400.ConnectionFactoryImpl.createTopicConnection(Unknown Source) 2) javax.jms.JMSException: error creating socket connection to "our swiftmq server host:port", message: Connection refused: connect at com.swiftmq.jms.v400.ConnectionFactoryImpl.createServerConnection(Unknown Source)    More>>

Sometimes our JMS Client could not open a connection to the SwiftMQ server due to

1) Javax.jms.JMSException:error creating socket connection to "our swiftmq server host:port", message: Received fatal alert: handshake_failure(no cipher suites in common)

at com.swiftmq.jms.v400.ConnectionFactoryImpl.createServerConnection(Unknown Source)

at com.swiftmq.jms.v400.ConnectionFactoryImpl.createTopicConnection(Unknown Source)

2) javax.jms.JMSException: error creating socket connection to "our swiftmq server host:port", message: Connection refused: connect

at com.swiftmq.jms.v400.ConnectionFactoryImpl.createServerConnection(Unknown Source)

at com.swiftmq.jms.v400.ConnectionFactoryImpl.createTopicConnection(Unknown Source)


For 1), we use SwiftMQ default JSSESocketConnectionFactory. For 2), the SwiftMQ server is still running.

Any idea why this happen and how we resolve it?

Thanks

   <<Less

Re: [SWiftMQv4.6.0] SwiftMQ refuse connections

Posted By:   Andreas_Mueller  
Posted On:   Wednesday, October 22, 2003 11:30 PM

1) The default certs don't match so you would have to create your own certs and use it for that connection. Or you have to use another cipher suite via system property "swiftmq.jsse.anoncipher.name". Look here.


2) May be there are too many open TCP connections on that host and the host rejects it. It's "connection refused", thus something on the TCP layer, not with SwiftMQ.
About | Sitemap | Contact