[rabbitmq-discuss] Unable to establish MQTT plugin in rabbitmq version : 3.1.3.
Michael Klishin
mklishin at gopivotal.com
Thu Jun 26 10:05:24 BST 2014
On 26 June 2014 at 12:56:49, Ankur5 C (ankur5.c at tcs.com) wrote:
> > Bu when I am trying to connect to the broker I am getting the following
> exception
> .MqttException(0) - javax.net.ssl.SSLHandshakeException:
> Remote host closed connection during handshake
> at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:34)
> at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:553)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: javax.net.ssl.SSLHandshakeException: Remote
> host closed connection during handshake
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
> at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
> at org.eclipse.paho.client.mqttv3.internal.SSLNetworkModule.start(SSLNetworkModule.java:84)
> at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:538)
> ... 1 more
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
> at sun.security.ssl.InputRecord.read(InputRecord.java:352)
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> ... 6 more
>
> Any help is appreciated.
Take a look at RabbitMQ log, there should be some hints at what may be
going on. I suspect peer verification fails.
See SSL Troubleshooting guide:
http://www.rabbitmq.com/troubleshooting-ssl.html
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list