Hi everyone,<div><br></div><div>I am having some erlang client problems, I can't seem to get past the amqp_connection:start() phase, it just seems to halt at: </div><div><br></div><div><div>** Found 0 name clashes in code paths </div>
<div>"test": "state-1"</div><div><br></div><div>=PROGRESS REPORT==== 17-Jun-2009::11:22:45 ===</div><div> supervisor: {local,inet_gethost_native_sup}</div><div> started: [{pid,<0.54.0>},{mfa,{inet_gethost_native,init,[[]]}}]</div>
<div><br></div><div>=PROGRESS REPORT==== 17-Jun-2009::11:22:45 ===</div><div> supervisor: {local,kernel_safe_sup}</div><div> started: [{pid,<0.53.0>},</div><div> {name,inet_gethost_native_sup},</div>
<div> {mfa,{inet_gethost_native,start_link,[]}},</div><div> {restart_type,temporary},</div><div> {shutdown,1000},</div><div> {child_type,worker}]</div>
<div><br></div><div>Here's the code:</div><div>----------------------------------------------------------------</div></div><div><br></div><div><div>-module(metrics_queue).</div><div>-export([amqp_lifecycle/0, send_message/5, log/2]).</div>
<div><br></div><div>-include_lib("rabbitmq-erlang-client/rabbitmq_server/include/rabbit.hrl").</div><div>-include_lib("rabbitmq-erlang-client/rabbitmq_server/include/rabbit_framing.hrl").</div><div>-include("rabbitmq-erlang-client/include/amqp_client.hrl").</div>
<div><br></div><div>-record(rabbit_info, {channel, ticket, exchange, routing_key}).</div><div><br></div><div>amqp_lifecycle() -></div><div> User = Password = "mixpanel",</div><div> Realm = <<"mixpanel">>, %% virtual_host</div>
<div> log("test", "state-1"),</div><div> Connection = amqp_connection:start(User, Password, "127.0.0.1"),</div><div> log("test", "state-2"),</div><div> Channel = amqp_connection:open_channel(Connection),</div>
<div> Access = #'access.request'{</div><div> realm = Realm,</div><div> exclusive = false,</div><div> passive = true,</div><div> active = true,</div><div> write = true,</div><div>
read = true</div><div> },</div></div><div><br>Any help is greatly appreciated
</div><div><br></div><div>Sincerely,</div><div>Suhail Doshi</div>