Search code examples
c#exceptionappharbormasstransitcloudamqp

AppHarbor MassTransit CloudAMQP throws Exception None of the specified endpoints were reachable


I am trying to use Masstransit with CloudAMQP LEMUR from my AppHarbor application, but I am receiving the exception:

"None of the specified endpoints were reachable"

This is how Masstransit is configured:

Bus.Initialize(sbc =>
                     {
                         sbc.UseRabbitMq();
                         sbc.UseRabbitMqRouting();
                         sbc.ReceiveFrom("rabbitmq://********-243c-4e49-87fd-ed809c4839f1_apphb.com:[email protected]/7752f6ce-243c-4e49-87fd-ed809c4839f1_apphb.com");
                         sbc.Subscribe(subs => subs.Handler<CreateTweetCommand>((message) => .......................................      

The versions that I am using are: MassTransit 2.6.3
MassTransit.RabbitMQ.2.6.3
RabbitMQ.Client.2.8.7
Magnum.2.0.1.0

How can I solve this error?

Thanks


Solution

  • Finally It is working, thanks to @Carl Hörberg comments.

    I have created a queue and added to my rabbitmq URL, and everything is working fine now.

    Thanks guys for the support