[bitnami/rabbitmq] How to enable rabbitmq_web_stomp?

Keywords: RabbitMQ - Microsoft Azure - How to - Other
Description:
If install rabbitmq_web_stomp plugin

extraPlugins: "rabbitmq_stomp rabbitmq_web_stomp"

then stomp-ws port 15674 will not be exposed automatically.
Extra port setting will not help us too

service:
  extraPorts:
    - name: stomp-ws
      protocol: TCP
      port: 15674
      targetPort: stomp-ws

How to get working rabbitmq_web_stomp plugin?
How I tested it:

curl -i -N http://my-app-rabbitmq.rq.svc:15674/rq/ws -H 'Connection: Upgrade' -H 'Upgrade: websocket'

response is

curl: (7) Failed to connect to my-app-rabbitmq.rq.svc port 15674: Connection refused

Hello @webcane,

Did you open port 15647 following this guide?

https://docs.bitnami.com/google/faq/administration/use-firewall/

If so, we have a Support Tool that will gather relevant information for us to analyze your configuration and logs. Could you please execute it on the machine where the stack is running by following the steps described in the guide below?

Please note that you need to paste the code ID that is shown at the end.

No, I had before installed rabbitmq-ha from the stable helm chart. And to get websockets (STOMP) working it was necessary to activate plugins only

rabbitmqSTOMPPlugin:
   enabled: true
rabbitmqWebSTOMPPlugin:
   enabled: true

15674 port was exposed automatically.

But stable chart is deprecated already and I decided to continue with bitnami chart.

To expose 15674 port I just configured extra port settings in values as wrote before

service:
  extraPorts:
    - name: stomp-ws
      protocol: TCP
      port: 15674
      targetPort: stomp-ws
    - name: stomp-tcp
      protocol: TCP
      port: 61613
      targetPort: stomp-tcp

But this is not enough. Port exposed but no entrypoints

Hi @webcane,

Sorry for the misunderstanding. I thought you were using our singlevm.

We provide technical support for our Helm Charts in our Github repositories. Our team is actively monitoring them and will be glad to help you there, usually within a business day, and the whole community will benefit from your contribution. Could you please post your question by creating a new issue in the repo?

https://github.com/bitnami/charts

If you have already opened a case, please let me know so I can contact the team to check it

Thanks.

Dear @davidg thanks for support. I have created following github issue.

Thanks @webcane,

The team will help you there.

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.