I have installed RabbitMQ to my Kubernetes Cluster via Google Cloud Platform's marketplace.
I can login fine and I get a list of queues and exchanges when visiting their pages. But as soon as I select a queue or an exchange to load that specific item, I get a 404 response and the following message. I get them same when trying to add a new queue.
Not found
The object you clicked on was not found; it may have been deleted on the server.
I had the same problem as you this morning, and I fix it by using the bellow configuration:
server {
listen 80;
server_name rabbitmq.o2c.ovh;
access_log acces.log;
error_log error.log;
location / {
client_body_buffer_size 128k;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_connect_timeout 30s;
proxy_pass http://localhost:15672;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
请与内部URL应该按预期工作,否则你definitions.json
会不会被你到达.yml
文件。
This is because the default virtual-host is '\/'. RabbitMQ admin uses this in the URL when you access the exchanges\/queues pages. URL encoded it becomes '%2F'. However, the Ingress Controller (in my case nginx) converts that back to '\/' so the admin app can't find that URL (hence the 404).
rabbitmq:
extraConfiguration: |-
default_vhost = vhost
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.