[rabbitmq-discuss] [ruby-amqp] Re: BUNNY: How can we connect to RMQ cluster

Loganathan Sellapa loganathan.ms at gmail.com
Wed Aug 20 09:21:13 BST 2014


Hi Michael,

Thanks, but still I am not able to connect to the RMQ whenever I provide
some invalid hosts like below, the reason for this kind of testing is my
RMQ VM itself may gets down sometime in that case I want to pick the valid
one.

production:
  <<: *defaults
  rmq_settings:
    hosts:* ["*d1p500tlm-prxs-podrmq-a-cert.vchslabs.*cqom**","invalid.vchslabs.cowwwm","invalid.coswaqqwm",
"d1p500tlm-prxs-podrmq-a-cert.vchslabs.com
<http://d1p500tlm-prxs-podrmq-a-cert.vchslabs.com>","D1P310TLM-PRXS-PODRMQ-A-CERT.VCHSLABS.COM
<http://D1P310TLM-PRXS-PODRMQ-A-CERT.VCHSLABS.COM>"]*
    port: 5671
    vhost: vchs
    auth_mechanism: EXTERNAL
    automatic_recovery: true
    tls: true
    tls_cert: /home/logan/git/presto/ssl/server/cert.pem
    tls_key: /home/logan/git/presto/ssl/server/key.pem
    tls_ca_certificates: ["/home/logan/git/presto/ssl/ca/ca-chain.pem"]
    verify_peer: true



Bunny::TCPConnectionFailed: Could not establish TCP connection to
d1p500tlm-prxs-podrmq-a-cert.vchslabs.cqom:5671:




regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe <http://vizualize.me/loganathan>



On Wed, Aug 20, 2014 at 1:33 PM, Michael Klishin <mklishin at pivotal.io>
wrote:

> On 20 August 2014 at 11:40:07, Loganathan Sellapa (loganathan.ms at gmail.com)
> wrote:
> > > host: […]
>
> It should be :hosts, not :host. :host works just like before.
> --
> MK
>
> Staff Software Engineer, Pivotal/RabbitMQ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140820/03d78c54/attachment.html>


More information about the rabbitmq-discuss mailing list