Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in rest server when getting connections #33

Open
timwaters opened this issue Feb 24, 2011 · 0 comments
Open

Error in rest server when getting connections #33

timwaters opened this issue Feb 24, 2011 · 0 comments

Comments

@timwaters
Copy link

Hi,

I'm getting an error when trying to get connections. Other alice requests work.

curl -i http://localhost:9999/conn
HTTP/1.1 404 Object Not Found
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Thu, 24 Feb 2011 15:59:41 GMT
Content-Type: text/plain
Content-Length: 10

Not found.

with Alice showing

=INFO REPORT==== 24-Feb-2011::15:59:41 ===
(rest_server:232) Error in rest server: {{case_clause,
                                          {client_properties,
                                           [{<<"information">>,longstr,
                                             <<"http://github.com/tmm1/amqp">>},
                                            {<<"product">>,longstr,<<"AMQP">>},
                                            {<<"platform">>,longstr,
                                             <<"Ruby/EventMachine">>},
                                            {<<"version">>,longstr,
                                             <<"0.6.7">>}]}},
                                         [{conn,convert_prop_for_json,1},
                                          {lists,map,2},
                                          {lists,map,2},
                                          {conn,'-get/1-fun-0-',1},
                                          {lists,map,2},
                                          {conn,get,1},
                                          {rest_server,run_controller,4},
                                          {mochiweb_http,headers,5}]}

I'm connecting to rabbitmq using the Ruby amqp gem.

rabbitmqct list_connections shows what's connected

rabbitmqctl list_connections
Listing connections ...
guest   127.0.0.1   44237   running
guest   127.0.0.1   50008   running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant