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

SMTP configuration error 535 authentication Failed: Bad Username / Password #3062

Open
redaER7 opened this issue Apr 4, 2024 · 1 comment

Comments

@redaER7
Copy link

redaER7 commented Apr 4, 2024

Using chart grafana-7.3.0, I am looking to configure sendgrid SMTP inside chart values, my configuration is the following:

grafana.ini:
  smtp:
    enabled: true
    skip_verify: false
    host: smtp.***
    from_name: Grafana
    from_address: ***
smtp:
  # `existingSecret` is a reference to an existing secret containing the smtp configuration
  # for Grafana.
  existingSecret: "grafana-smtp-secret"
  userKey: "user"
  passwordKey: "password"

grafana-smtp-secret is the secret where user: is the service account I created, and password is for my SMTP config,
Checking the grafana.ini inside the pod, my infos are there

[smtp]
enabled = true
from_address = ****
from_name = Grafana
host = smtp.***
skip_verify = false

while secret values are present as environment variables GF_SMTP_USER GF_SMTP_PASSWORD

When testing, I'm getting error 535 authentication Failed: Bad Username / Password,
What am I missing here ?
Thank you,
Screenshot 2024-04-04 at 13 35 16

@gmueller2000datev
Copy link

Did you restart grafana because see the comment under administration -> settings: "These system settings are defined in grafana.ini or custom.ini (or overridden in ENV variables). To change these you currently need to restart Grafana."

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

2 participants