ahipp13 commented on issue #54413:
URL: https://github.com/apache/airflow/issues/54413#issuecomment-3184042538
Looks like for some reason within the loop below:
```
for secrets_backend in ensure_secrets_loaded():
try:
conn = secrets_backend.get_connection(conn_id=conn_id)
if conn:
SecretCache.save_connection_uri(conn_id, conn.get_uri())
return conn
except Exception:
log.debug(
"Unable to retrieve connection from secrets backend
(%s). "
"Checking subsequent secrets backend.",
type(secrets_backend).__name__,
)
```
When in the try block for the metastorebackend it is getting this exception:
"Session must be set before!"
Not sure why this is not getting set?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]