I am using node-amqp in a Meteor app to connect to a rabbitMQ server via SSL. Here is my connection string:
var rConn = AMQP.createConnection({ url: amqps://user:pass@host:pppp, vhost: '/virthost' });
However, no connection is made. The following is in the RabbitMQ error log:
=INFO REPORT==== 25-Jun-2013::17:41:30 ===
accepting AMQP connection <0.20247.0> (xxx.xxx.xxx.xxx:pppp -> xxx.xxx.xxx.xxx:pppp)
=ERROR REPORT==== 25-Jun-2013::17:41:30 ===
error on AMQP connection <0.20231.0>: {ssl_upgrade_error,"record overflow"} (unknown POSIX error)
=INFO REPORT==== 25-Jun-2013::18:11:35 ===
accepting AMQP connection <0.22556.0> (xxx.xxx.xxx.xxx:pppp -> xxx.xxx.xxx.xxx:pppp)
=ERROR REPORT==== 25-Jun-2013::18:11:40 ===
error on AMQP connection <0.22556.0>: {ssl_upgrade_error,timeout} (unknown POSIX error)
All I can find on the record overflow error is to check the version of Erlang that is running. The box with which I'm attempting to make the connection is using the most recent version. I'm not sure of the box running RabbitMQ, but I'll look into it. Any further help would be greatly appreciated.