GitHub user ahipp13 added a comment to the discussion: Remote Logging to Azure
Blob Storage Still Broke in Airflow 3.0.4
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?
GitHub link:
https://github.com/apache/airflow/discussions/54489#discussioncomment-14098492
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]