Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Connection was not found, even Environment Variable is set. #8

Open
psdon opened this issue Aug 6, 2019 · 3 comments
Open

Connection was not found, even Environment Variable is set. #8

psdon opened this issue Aug 6, 2019 · 3 comments
Assignees

Comments

@psdon
Copy link

psdon commented Aug 6, 2019

I'm sure I set the environment variable correctly by executing:
export SENTRY_DSN=[MY_SENTRY]

I got this error:

{sentry_hook.py:107}` WARNING - Connection was not found, defaulting to environment variable.

@psdon
Copy link
Author

psdon commented Aug 6, 2019

I also tried manually setting up the connection with conn_id = sentry_dsn and host=dsn in the Web UI. But it doesn't catch the errors to Sentry.

@mikeclarke
Copy link

When you add the sentry_dsn connection, does the warning go away? Which airflow version are you running?

@psdon
Copy link
Author

psdon commented Aug 7, 2019

apache-airflow==1.10.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants