I am trying to get hawtio on an ActiveMQ 5.11 server via the
http://<host>:8161/api/jolokia URL. The URL works if I curl/hit it from a browser but when trying to use the
java -jar hawtio.jar it fails.
It's working find on my development instance. The debug output says the following:
[qtp400507874-19] WARN org.eclipse.jetty.servlet.ServletHandler - /hawtio/proxy/http://192.168.1.171:8161/api/jolokia/ java.lang.SecurityException: Authentication Failed on remote server http://192.168.1.171:8161/api/jolokia/?maxDepth=7&maxCollectionSize=500&ignoreErrors=true&canonicalNaming=false
Any suggestions on how to troubleshoot this? The only difference I can find is that the test box is on my local network (but not localhost) and the prod box is in AWS, but if it's communicating via port 8161 then that shouldn't matter.