Skip to content

Instantly share code, notes, and snippets.

@mattbennett
Last active January 6, 2016 22:54
Show Gist options
  • Save mattbennett/4132689345adcb17703c to your computer and use it in GitHub Desktop.
Save mattbennett/4132689345adcb17703c to your computer and use it in GitHub Desktop.
rabbitmq management server 500 Error on rapid connection delete
=INFO REPORT==== 18-Aug-2014::18:09:20 ===
Deleting vhost 'nameko'
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
Adding vhost 'nameko'
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
Setting permissions for 'guest' in 'nameko' to '.*', '.*', '.*'
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
accepting AMQP connection <0.29021.27> (127.0.0.1:59256 -> 127.0.0.1:5672)
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
accepting AMQP connection <0.29031.27> (127.0.0.1:59257 -> 127.0.0.1:5672)
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
closing AMQP connection <0.29021.27> (127.0.0.1:59256 -> 127.0.0.1:5672)
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
closing AMQP connection <0.29031.27> (127.0.0.1:59257 -> 127.0.0.1:5672)
=INFO REPORT==== 18-Aug-2014::18:09:21 ===
Closing connection <0.29031.27> because "Closed via management plugin"
=ERROR REPORT==== 18-Aug-2014::18:09:21 ===
webmachine error: path="/api/connections/127.0.0.1%3A59257%20-%3E%20127.0.0.1%3A5672"
{throw,
{error,{not_a_connection_pid,<0.29031.27>}},
[{rabbit_networking,close_connection,2,
[{file,"src/rabbit_networking.erl"},{line,331}]},
{rabbit_mgmt_wm_connection,delete_resource,2,
[{file,"rabbitmq-management/src/rabbit_mgmt_wm_connection.erl"},
{line,55}]},
{webmachine_resource,resource_call,3,
[{file,
"webmachine-wrapper/webmachine-git/src/webmachine_resource.erl"},
{line,186}]},
{webmachine_resource,do,3,
[{file,
"webmachine-wrapper/webmachine-git/src/webmachine_resource.erl"},
{line,142}]},
{webmachine_decision_core,resource_call,1,
[{file,
"webmachine-wrapper/webmachine-git/src/webmachine_decision_core.erl"},
{line,48}]},
{webmachine_decision_core,decision,1,
[{file,
"webmachine-wrapper/webmachine-git/src/webmachine_decision_core.erl"},
{line,440}]},
{webmachine_decision_core,handle_request,2,
[{file,
"webmachine-wrapper/webmachine-git/src/webmachine_decision_core.erl"},
{line,33}]},
{rabbit_webmachine,'-makeloop/1-fun-0-',2,
[{file,"rabbitmq-web-dispatch/src/rabbit_webmachine.erl"},
{line,54}]}]}
@vtermanis
Copy link

Hi,
I'm experiencing the same issue (RabbitMQ v3.5.6):

webmachine error: path="/api/connections/REDACTED"
{exit,{normal,{gen_server,call,
                          [<0.11168.0>,
                           {shutdown,"Incoming connection data rate exceeded (last 60s)"},
                           infinity]}},
      [{gen_server,call,3,[{file,"gen_server.erl"},{line,212}]},
       {rabbit_mgmt_wm_connection,delete_resource,2,[]},
       {webmachine_resource,resource_call,3,[]},
       {webmachine_resource,do,3,[]},
       {webmachine_decision_core,resource_call,1,[]},
       {webmachine_decision_core,decision,1,[]},
       {webmachine_decision_core,handle_request,2,[]},
       {rabbit_webmachine,'-makeloop/1-fun-0-',2,[]}]}

From searching online I can't seem to find any other refernce of this - did you ever get a chance to contact RabbitMQ (or the plugin) developers about this?

Regards,
Vilnis

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