FGRibreau / FGRibreau/node-amqp-tool

Error: Connection ended: possibly due to an authentication failure

Offen
#18 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
JavaScript
Sterne
26
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm running amqp-tool against rabbitmq 3.2.4 using an authenticated user but always fails. Logging in the web UI works though:
```
amqp-tool -vvvv --host localhost --port 32781 -u jgaspar -p 123456 -q test --count 1 --export dump.json
RabbitMQ :: error Error: Connection ended: possibly due to an authentication failure.
at Connection. (/usr/lib/node_modules/amqp-tool/node_modules/amqp/lib/connection.js:283:26)
at emitNone (events.js:106:13)
at Connection.emit (events.js:208:7)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
RabbitMQ connection closed :: close false
```

When not specifying a user it works fine with default one (guest/guest). Rabbitmq is running inside a vagrant box and I'm forwarding the port, hence it's using 32781.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57799315-error-connection-ended-possibly-due-to-an-authentication-failure?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.