Closed juleskreutzer closed 5 years ago
@juleskreutzer sorry for the late response, I somehow missed it. The default user name/password configuration used if none specified is "guest"/"guest" using port 5672. Do you got those user and ports open?
@reinhapa Yes, the use guest has been allowed for remote access (default is localhost) and the ports (also for webstomp) are opened.
We had a strange behavior that we get a access_refused error when trying to connect with guest, or a newly created user ,with the correct permissions set, when we try to connect to RabbitMQ. This error occurs when we test it on localhost and a VM over a VPN connection. The access_refused error is thrown by the Rabbitmq sdk itself, not by your library
The strange thing is that we have this error when we implement the RabbitMQ sdk itself for localhost and the VM, but that we also have the error when we connect to the RabbitMQ on a server with a FQDN with your library. So:
We have solved our issue by self implementing the rabbitmq sdk to send messages. We use this library in a project for school that will end next week, but I'm happy to see if I can get things working with your library, but please, don't spend to much time on this if you think the error has nothing to do with your library
Cheers,
Jules
Seems to be the same issue as #11
Hi,
We are having trouble publishing messages to RabbitMQ. When we publish a message, we get the following warning:
This is the code where we set up the binding:
We have tried to set the routing key, but with or without it, we have the same warning/exception
The binding will be initialized with the following code:
We tried to set a username and password with the default guest user (changed rabbitmq config to allow remote connection for guest) and with a new user (tagged with "administrator"). These configuration will not change the warning/exception nor solve it.
Any help on solving this issue will be highly appreciated!
Thanks in advance!
Jules
stack trace: