-
Describe the bug I have this broker config
and this secret:
I can access the broker via cli with my credentials: But i cannot access the web console with the credentials of AMQ_USER or AMQ_CLUSTER_USER via localhost:8161.
Tip Vote this issue reacting with 👍 or 👎 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
The secret |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for your answer. It's running in the same namespace. just took the config from the docs and forgot to update the namespace. I could login via the users artemis and cluster. We have the problem at the moment that sometimes logins is successful, but sometimes we are forwarded back to the login screen. It looks like there's a cookie problem. Do you have any idea what can be the cause for forwarding back to the login screen? In the web console of my firefox I found these errors:
I also have this secret configured. Do i need this secret as well? :
Can this be also the problem that it's not configured as ssl endpoint? |
Beta Was this translation helpful? Give feedback.
-
Hey,
Now I can use port forwarding to the service to access the console via https://localhost:8161/console
because before that port forwarding was not working. If I go now into the pod and execute curl -ik https://localhost:8161/console i got status code 302, but this works for me only if I expose the console. The ingress is not working, throws 500 and the secretname is missing.
In the logs i got this message. Is there an error in my config or can i ignore this, because my ActiveMQArtemis is in ready state?
|
Beta Was this translation helpful? Give feedback.
-
The Ingress You can also set an environment variable by using the
Why do you need to set the env |
Beta Was this translation helpful? Give feedback.
The Ingress
artemis-broker-wconsj-2-svc-ing
created by the operator doesn't include the secretname because it uses SSL Passthrough. I guess your Ingress is not working and throws 500 because you the SSL Passthrough feature is not enabled in your Kubernetes cluster, , for further details see https://kubernetes.github.io/ingress-nginx/user-guide/tls/#ssl-passthroughYou can also set an environment variable by using the
spec.env
field, for further details see https://github.com/arkmq-org/activemq-artemis-operator/blob/main/docs/help/operator.md#setting--environment-variables, i.e.