But I can’t access anything. When I ssh in it seems all is functioning correctly and advertising on the right ports. Monitoring looks fine. But going to the app url:port gives me nothing. Maybe I’m missing something super obvious?
Use the hostname rabbitmq-amplified.internal to access the rabbitmq from other apps in your org. Let us know if you’re having issues with that.
In this part of the admin services config:
the handlers are processed in order. For a web app, terminate tls then handle http with:
handlers = ["tls", "http"]
You may not want that admin site to be on the public internet, which it will be with the current configuration. If not, something like tailscale or a vpn would enable remote access without exposing the admin page.
Thank you! Yeah… no luck. I tried accessing it via fly proxy as well and no dice. I did try flipping the handlers as suggested (good to know!) and still nothing.
The only difference is the mounts for the Mnesia data I think. This works and you can visit the management ui with some-app.fly.dev:15672.
What I’m having trouble with now is running rabbit in a cluster. I’m trying to use the new machines api + terrraform to manage this. Don’t know if anyone has been successful with running a cluster of rabbit nodes on fly.
Thanks! Tried copying that more or less exactly, including adding a volume. Still not working for me. I’m really not sure what’s going on. The container seems fine internally. I can’t access :15672 no matter what I seem to do.
FWIW we finally made this work - the issue is that the management plugin listens to IPv4 only by default, so was unreachable via IPv6. Adding management.tcp.ip = :: to the RabbitMQ configuration gets everything working as intended.
Nice. Not sure why mine works without that. I do have ipv6 mode enabled for rabbit and have fly wire guard on for my local setup. Btw are you folks running going to run a cluster?