Giter Club home page Giter Club logo

Comments (3)

dosubot avatar dosubot commented on July 23, 2024 4

Hey @mayanklalwani! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together!

The "Authentication Credentials Invalid" error after changing the SMTP credentials in the superset_config.py file, despite the credentials being correct when tested separately, could be due to the EMAIL_NOTIFICATIONS setting being set to False. This setting needs to be True to enable email notifications.

Here is the relevant part of the configuration:

# smtp server configuration
EMAIL_NOTIFICATIONS = False  # all the emails are sent using dryrun
SMTP_HOST = "localhost"
SMTP_STARTTLS = True
SMTP_SSL = False
SMTP_USER = "superset"
SMTP_PORT = 25
SMTP_PASSWORD = "superset"
SMTP_MAIL_FROM = "[email protected]"

To resolve the issue, change EMAIL_NOTIFICATIONS to True:

EMAIL_NOTIFICATIONS = True

This change will enable email notifications and should resolve the "Authentication Credentials Invalid" error if the SMTP credentials are correct [1].

To continue talking to Dosu, mention @dosu.

from superset.

rusackas avatar rusackas commented on July 23, 2024

Sorry for the dumb tech support "is it plugged in?" question, but did you restart Superset after changing the config?

from superset.

sfirke avatar sfirke commented on July 23, 2024

Also these variables can be set in multiple places - a .env file, superset_config.py, config.py, superset_config_docker.py. If the old ones remain in a different file that is getting loaded after where you set them, that could cause this problem.

We can probably convert this to a discussion as it seems more like a config settings issue, not a bug in the Superset codebase.

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.