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

Examples: Access the default VHost not possible #48

Open
roe85 opened this issue Jul 18, 2024 · 0 comments
Open

Examples: Access the default VHost not possible #48

roe85 opened this issue Jul 18, 2024 · 0 comments

Comments

@roe85
Copy link
Contributor

roe85 commented Jul 18, 2024

Describe the bug
Its not possible to access the default vhost with e.g. rmqhelloworld_producer

To Reproduce
Steps to reproduce the behavior:

  1. Call rmqhelloworld_producer amqp://guest:guest@localhost:5672/
  2. See Error: Error: Connection error NOT_ALLOWED - vhost not found, rc: 530

Expected behavior
It would not use "" as vhost but rather the default "/" vhost

Additional context
Could be fixed in ConnectionString::parseParts function or Within the getter SimpleEndpoint::vhost by using / as vhost if it is empty.

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

1 participant