title: RabbitMQ cluster connection using MassTransit gives BrokerUnreachableException
body: <p>I'm having the exact same problem this guy is having: <a href="https://github.com/MassTransit/MassTransit/issues/975" rel="nofollow noreferrer">https://github.com/MassTransit/MassTransit/issues/975</a>.</p>
  
  <p>For testing purposes, I have a 3 node cluster on my dev machine, following ports are used by the nodes:</p>
  
  <pre><code>amqp rabbit 5672
  http rabbit 15672
  
  amqp rabbit1 6001
  http rabbit1 15674
  
  amqp rabbit2 6002
  http rabbit2 15673
  
  
  </code></pre>
  
  <p>And I try to connect as follows:</p>
  
  <pre><code>var rabbitMqHost = busFactoryConfig.Host(new Uri("rabbitmq://localhost:6002"), hostConfig =&gt;
  {
    hostConfig.Username("username");
    hostConfig.Password("password");
    hostConfig.UseCluster(c =&gt;
    {
      c.ClusterMembers = new[]
      {
        "rabbitmq://localhost:6001",
        "rabbitmq://localhost:6002",
        "rabbitmq://localhost:5672"
      };
    });
  });
  </code></pre>
  
  <p>But I keep getting:</p>
  
  <blockquote>
    <p>Connect failed: admin@localhost:6002/</p>
    
    <p>BrokerUnreachableException: None of the specified endpoints were reachable</p>
  </blockquote>
  
  <p>Tried every possibility, nothing works. If I remove <code>UseCluster</code> then same host:port works which is weird.</p>
  
  <p>Using the clustername as hostname (like this: <code>busFactoryConfig.Host("rabbit2@{hostname-fqdn}", "/", ...</code>) gives the following error:</p>
  
  <blockquote>
    <p>EndpointNotFoundException: The host was not found for the specified address: rabbitmq://rabbit2@{hostname-fqdn}/bus-{hostname}-RabbitMQConsumer-rnuoyyrtr44jcxutbdmpkkikdu?durable=false&amp;autodelete=true</p>
  </blockquote>
  
  <p>RabbitMQ v3.7.14, Erlang v21.3</p>