Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.
This repository was archived by the owner on May 26, 2026. It is now read-only.

Error in rest server when getting connections #33

Description

@timwaters

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions