Search code examples
activemq-artemis

ActiveMQ Artemis web console not showing


I am running ActiveMQ Artemis in a Kubernetes Pod with access via an Ingress. I get the web console showing but with no GUI:

I have disabled jolokia-access.xml, but I think the artemis.profile is not picking up my changes.

enter image description here

Could anyone help with this?


Solution

  • The problem here is the configuration of your etc/jolokia-access.xml. The allow-origin should match where you've bound the web console, e.g.:

    <restrict>
        <cors>
            <allow-origin>*://yourIPorHostname</allow-origin>
            <strict-checking/>
        </cors>
    </restrict>
    

    You can also essentially disable the CORS check by specifying *://*, e.g.:

    <restrict>
        <cors>
            <allow-origin>*://*</allow-origin>
            <strict-checking/>
        </cors>
    </restrict>