missing rabbitmqadmin file in 3.7.2

128 views
Skip to first unread message

John McGonigal

unread,
Jan 25, 2018, 9:00:28 AM1/25/18
to rabbitmq-users

Hi all, sorry if this is a dumb question but I am quite new to RabbitMQ so please forgive me.

 

We have just installed RabbitMQ 3.7.2 and I am trying to install the CLI tools as per http://www.rabbitmq.com/management-cli.html.

 

The management plugin has been installed but when I navigate to http://{hostname}:15672/cli/ and click on the link to download rabbitmqadmin, I get nothing – the file appears to be missing.

 

We installed an older version (3.6.6) and on here, the link works fine and the file is there.

 

Am I doing something wrong or is this file missing in 3.7.2?

 

Thanks for any help.

 

John

Luke Bakken

unread,
Jan 25, 2018, 10:15:45 AM1/25/18
to rabbitmq-users
Hi John,

Browsing to http://localhost:15672/cli/ should bring up a web page with a description of rabbitmqadmin. There is a link on the page that you can use to download the file - http://localhost:15672/cli/rabbitmqadmin

John McGonigal

unread,
Jan 25, 2018, 10:45:40 AM1/25/18
to rabbitmq-users
Hi Luke, thanks for the reply.

I found the problem - I think there is a problem with that link, at least in my installation. I noticed that the "download it" link at http://localhost:15672/cli actually takes you to http://localhost:15672/rabbitmqadmin, and not http://localhost:15672/cli/rabbitmqadmin.

Is it just my installation that does that?

John

Luke Bakken

unread,
Jan 25, 2018, 11:28:56 AM1/25/18
to rabbitmq-users
Hi John,

Here is how I'm testing with 3.6.14 -

curl -4vvv -u guest:guest localhost:15672/cli
curl -4vvv -u guest:guest localhost:15672/cli/

Both of those commands return an HTML file with an information page for rabbitmqadmin.

curl -4vvv -u guest:guest localhost:15672/cli/rabbitmqadmin

That command returns the command itself (it is a Python program).

I see exactly the same behavior with version 3.7.2, as well.

Using version 3.6.6, the URI that ends without a slash returns a 301 redirect to http://localhost:15672/cli/ - requests to that URI return the same informational page as with 3.6.14 and 3.7.2.

It appears that localhost:15672/cli/rabbitmqadmin is the only URI that works. I can't explain what you are seeing in your environment, but I will update the documentation.

Thanks!
Luke

V Z

unread,
Jan 25, 2018, 6:25:26 PM1/25/18
to rabbitmq-users


Clicking the "download it" link yields:
{"error":"Object Not Found","reason":"Not Found"}


Luke Bakken

unread,
Jan 25, 2018, 7:21:31 PM1/25/18
to rabbitmq-users
Hello,

That link works fine for me, and links to /cli/rabbitmqadmin

I am assuming that you're using version 3.7.2. Which package did you install?

Thanks,
Luke 

John McGonigal

unread,
Jan 26, 2018, 3:55:42 AM1/26/18
to rabbitmq-users
It's to do with how you go to the cli page in the first place and whether you put the trailing slash on the end.

If you do (http://localhost:15672/cli/), the download link works fine
If you don't (http://localhost:15672/cli), the link does not work (the download link for python script file misses the /cli/ from the path, as per the picture from V Z.

It's a really minor point and I should have noticed it really. When I type a URL I rarely type a trailing slash, so just missed it.

Thanks for your help and suggestions.

John

gl...@pivotal.io

unread,
Sep 10, 2018, 8:24:52 AM9/10/18
to rabbitmq-users
Reply all
Reply to author
Forward
0 new messages