Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not found: /api/bindings/%2F/e/swp_websocket_exchange/q/swp_websocket #1118

Open
NicholasIanni opened this issue May 24, 2020 · 2 comments
Open

Comments

@NicholasIanni
Copy link

When attempting to bind websocket queue to websocket exchange

(/etc/rabbitmq/rabbitmqadmin --vhost=/ declare binding source="swp_websocket_exchange" destination="swp_websocket")

I get the output:
Not found: /api/bindings/%2F/e/swp_websocket_exchange/q/swp_websocket

Does anyone know what the issue is or can help fix the issue?

@NicholasIanni
Copy link
Author

Not sure if this will help, but I found out that the queue and exchange do not exist. This means that the installer did not set them up.

@gordan-cuic
Copy link

I also had this, and came to the same conclusion - Queue and exchange did not exist. This helped me:

  • rabbitmqadmin declare exchange name=swp_websocket_exchange type=direct. Should see exchange declared
  • rabbitmqadmin declare queue name=swp_websocket durable=true. Should see queue declared
  • Then execute again: /etc/rabbitmq/rabbitmqadmin --vhost=/ declare binding source="swp_websocket_exchange" destination="swp_websocket"
  • Should see output binding declared

Last, check bindings in RabbitMQ

  • sudo rabbitmqctl list_bindings
  • Should see swp_websocket and swp_websocket_exchange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants