Examples: Access the default VHost not possible
- Lingua principale
- C++
- Stelle
- 106
- Fork
- 32
- Merge medio
- 9h 4m
- PR unite (30g)
- 6
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con ConnectionString::parseParts e il getter SimpleEndpoint::vhost, come indicato nell’issue. Esegui rmqhelloworld_producer con amqp://guest:guest@localhost:5672/ e traccia come viene gestito il vhost vuoto. Il lavoro è completato quando il comando si connette usando il / vhost predefinito di RabbitMQ invece di richiedere un vhost vuoto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, rabbitmq
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 52/100