alice icon indicating copy to clipboard operation
alice copied to clipboard

Error in rest server when getting connections

Open timwaters opened this issue 14 years ago • 0 comments

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,
                                           [{>,longstr,
                                             >},
                                            {>,longstr,>},
                                            {>,longstr,
                                             >},
                                            {>,longstr,
                                             >}]}},
                                         [{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

timwaters avatar Feb 24 '11 16:02 timwaters