[rabbitmq-discuss] rabbitmq erlang client error: inet_address_preference

Matthias Radestock matthias at rabbitmq.com
Tue Feb 12 13:00:10 GMT 2013


On 12/02/13 12:03, ejoubert at rbcon.com wrote:
> On Sunday, 20 January 2013 23:19:22 UTC, Mike Bridge wrote:
>
>     I'm new to rabbitmq and fairly new to erlang....  I'm trying
>     unsuccessfully to get the erlang client (3.0.1) working.  Any idea
>     what this error means?
>
>     ** {{case_clause,undefined},
>          [{amqp_network_connection,inet_address_preference,0,
>
>     [{file,"src/amqp_network_connection.erl"},
>                                     {line,154}]},
>
>
> A possible cause is that the Erlang client and the broker versions are
> mismatched. That error should not occur if you use matching versions
> together.

It's actually not a version mismatch thing but, as Paul noted, a bug in 
the rebar friendly fork of the erlang client, which neglected to include 
an application env setting that is new in the 3.0.x version of the client.

Matthias.


More information about the rabbitmq-discuss mailing list