Hello,
I am looking at an behaviour when a client that tries to connect to a vhost as it is being created runs into a "vhost is down problem" and even more troubling is that the vhost stays down until we click the "restart" button on the vhost in the admin UI.
Here are some logs:
2018-04-13 23:46:16.709 [info] <0.21767.381> Adding vhost 'myvhost'
2018-04-13 23:46:17.915 [error] <0.21841.381> Error on AMQP connection <0.21841.381> (
10.1.1.87:48750 ->
10.1.1.13:5672, user: 'events', state: opening):
access to vhost 'myvhost' refused for user 'myuser'
2018-04-13 23:46:18.736 [info] <0.21963.381> Setting permissions for 'myuser' in 'myvhost' to '.*', '.*', '.*'
2018-04-13 23:46:18.803 [error] <0.21984.381> Error on AMQP connection <0.21984.381> (
10.1.1.87:48850 ->
10.1.1.13:5672, vhost: 'none', user: 'myuser', state: opening), channel 0:
{handshake_error,opening,
{amqp_error,internal_error,
"access to vhost 'myvhost' refused for user 'myuser': vhost 'myvhost' is down",
'connection.open'}}
RabbitMQ: 3.7.4
Erlang: 20.3
Number of brokers: 3
Please help me define the steps to troubleshoot this situation. So far I've been restarting brokers or vhosts to get rid of this error.
-- Aleksey