Skip to content

Fix 500 error on webserver after upgrading to FAB provider 1.5.4#62412

Merged
vatsrahul1001 merged 1 commit intov2-11-testfrom
fix-webserver-error
Feb 24, 2026
Merged

Fix 500 error on webserver after upgrading to FAB provider 1.5.4#62412
vatsrahul1001 merged 1 commit intov2-11-testfrom
fix-webserver-error

Conversation

@vatsrahul1001
Copy link
Copy Markdown
Contributor

Fix 500 error on webserver after upgrading to FAB provider 1.5.4

FAB 1.5.4 bumped flask-session to >=0.8.0, which changed the session
serialization format (MsgPack to JSON). After upgrading, browsers with
an existing session cookie from 1.5.3 cause AirflowTaggedJSONSerializer.decode()
to blow up, which propagates out of open_session() leaving ctx.session as
None.

We should create a new session rather than letting the error propagate.

  • Yes (please specify the tool below)
    Claude

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@kaxil kaxil added this to the Airflow 2.11.2 milestone Feb 24, 2026
@vatsrahul1001 vatsrahul1001 merged commit 48a1af3 into v2-11-test Feb 24, 2026
39 checks passed
@vatsrahul1001 vatsrahul1001 deleted the fix-webserver-error branch February 24, 2026 15:35
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

Successfully merging this pull request may close these issues.

4 participants