Failed to query rabbit by http api

38 views
Skip to first unread message

Alex Pinsker

unread,
Dec 26, 2019, 7:47:02 AM12/26/19
to rabbitmq-users
Hey group,


Im trying to query the queue by api request, GET /api/queues/{vhost}/{qname}

my command looks like 

 curl -i -u {User}:{Password} https://{Host domain}:15672/api/queues/{VHost}/{QName} -H "content-type:application/json"


Im try with http/s.

Im got always "Operation timed out"


Im success to connect with pika from python, but its show only the ready msg. (i need to know the unack'd msg too)

Its looks like pika send same command as me.


Can any one point on what wrong?


Thanks a lot,

Alex.

Wesley Peng

unread,
Dec 26, 2019, 8:51:25 AM12/26/19
to rabbitm...@googlegroups.com
Hi

https port is 15671. You need to configure SSL in server firstly.

The management plugin can be configured to use HTTPS. See the guide on TLS to learn more about certificate authorities, certificates and private key files.

Sent from mobile

-----Original-Nachricht-----
Von: Alex Pinsker <alex.p...@aquant.io>
Betreff: [rabbitmq-users] Failed to query rabbit by http api
Datum: 26.12.2019, 20:47 Uhr
An: rabbitmq-users <rabbitm...@googlegroups.com>

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/6e966c62-c643-4cfe-9024-2b23b2773efd%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages