If you lose the RabbitMQ username and password that were created during the Sipelia
Server installation, you can manage the credentials in the RabbitMQ command
prompt.
What you should know
- If you enter incorrect credentials in Sipelia™, an entity warning is generated with the message: Message broker connection failed because of invalid credentials.
- You can add, delete, or edit your existing credentials from the RabbitMQ web
portal (http://localhost:15671).
- To resolve this issue, you might need to create a temporary user to access the
RabbitMQ web portal using the following steps.
- To learn more about RabbitMQ configuration, visit the RabbitMQ website.
Procedure
-
Open a command prompt in Windows, and then navigate to the RabbitMQ sbin
folder (typically: C:\Program Files\RabbitMQ
Server\rabbitmq_server-x.y.z\sbin)
-
Execute the following command to add new credentials:
rabbitmqctl add_user username password
-
Give the new credentials administrator privileges by executing the
command:
rabbitmqctl set_user_tags username administrator
NOTE: If the
rabbitmqctl commands cannot be executed because of the an
Erlang cookie authentication failure, you must synchronize the
.erlang.cookie files on your machine. Refer to the RabbitMQ
installation instructions at
https://www.rabbitmq.com/install-windows-manual.html.
-
Log on to the RabbitMQ web portal (http://localhost:15671).
-
Manage the credentials that you would like to use with Sipelia™.
IMPORTANT: For security reasons, you should delete the temporary
user you created.
-
Update the Message Broker settings in the Sipelia™ plugin with your new credentials.
-
In Config Tool, open the Plugins task and click
the Sipelia™ plugin.
-
Click the General tab.
-
In the Message broker configuration, modify the
Username and Password
to match the your new credentials.
-
Click Apply to save your changes.