[rabbitmq-discuss] Erlang - Client update

Suhail Doshi suhail at mixpanel.com
Wed Jun 17 20:38:54 BST 2009


I managed to get the erlant client working with the unit tests, using v1_5
branch seems to fix things, however I have a new problem: I can't seem to
get it working with my vhosts/usernames:
tehmac
~/web/analytics/servers/metrics_queue/producer/src/rabbitmq_server/sbin:
sudo ./rabbitmqctl list_user_vhosts mixpanel
Listing vhosts for user "mixpanel" ...
mixpanel
...done.
tehmac
~/web/analytics/servers/metrics_queue/producer/src/rabbitmq_server/sbin:
sudo ./rabbitmqctl list_vhost_users mixpanel
Listing users for vhosts "mixpanel" ...
mixpanel
...done.


amqp_lifecycle() ->
    User = Password = "mixpanel",
    Realm = <<"mixpanel">>, %% virtual_host
    log("test", "state-1"),
    Connection = amqp_connection:start(User, Password, "127.0.0.1"),
    log("test", "state-2"),
    Channel = amqp_connection:open_channel(Connection),
    Channel.

Seems to get simply get stuck:

"test": "state-1"

=PROGRESS REPORT==== 17-Jun-2009::12:38:35 ===
          supervisor: {local,inet_gethost_native_sup}
             started: [{pid,<0.54.0>},{mfa,{inet_gethost_native,init,[[]]}}]

=PROGRESS REPORT==== 17-Jun-2009::12:38:35 ===
          supervisor: {local,kernel_safe_sup}
             started: [{pid,<0.53.0>},
                       {name,inet_gethost_native_sup},
                       {mfa,{inet_gethost_native,start_link,[]}},
                       {restart_type,temporary},
                       {shutdown,1000},
                       {child_type,worker}]



-- 
http://mixpanel.com
Blog: http://blog.mixpanel.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090617/79ac7109/attachment.htm 


More information about the rabbitmq-discuss mailing list