Closed marcio199226 closed 5 years ago
Ok maybe i figured out the problem, before declaring a vhost in connection string / options this virtual host should be created first. I thought that this happens automatically but i didn't find anything about it on ampqlib's doc
this is by design, we can only create vhost from cli or from api through rabbit's management panel, this feature is not a part of amqp protocol if I understood properly, nervermind we may close this issue
Hi,
When i tried to add a vhost to my connection string the connection fails with the following error:
This is my connection string:
amqp://guest:guest@localhost:5672/vhostname
I havae tried setting connection options through setOptions resulting with the same error reported above:
I followed this spec https://www.rabbitmq.com/uri-spec.html.
Thanks in advance for any replies.