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

Credentials are being logged on connection error #190

Open
latuszek opened this issue Oct 1, 2024 · 0 comments
Open

Credentials are being logged on connection error #190

latuszek opened this issue Oct 1, 2024 · 0 comments

Comments

@latuszek
Copy link

latuszek commented Oct 1, 2024

Hi,
I've just come into a problem with logged credentials in the connection URL:

time=2024-10-01T09:30:06.453Z level=INFO source=:0 msg="gorabbit WARN: failed to connect to amqp server amqp://some-user:[email protected]:5671/: dial tcp 127.0.0.1:5671: connect: connection refused"

The credentials should never be written as a plain text log.

To test this you can simply set the wrong URL and try to connect.

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