I am using an AWS ec2 instance and installed apache-airflow there. Following steps, I am doing in that instance,
1) After initiating airflow with 'airflow initdb', I created a user with Admin role using 'airflow create_user' option and in airflow.cfg changed rbac = True.
2) Again ran 'airflow initdb' and 'airflow webserver'. It initiated the webserver.
3) In another tab, run 'airflow scheduler'
4) Then using port-forwarding to port forward the 8080 port from the ec2 instance to my local machine
5) In my local browser, I am just opening localhost:8080/
6) On Airflow login page, putting credentials of the Admin user, I logged in into Airflow
7) After toggling ON a dag from UI, when I am refreshing the page or clicking on some other option, the DAG toggling button is automatically turning OFF. and hence I am not able to run any DAG

The button I am talking about is on the left side of the DAG name.
Please help anyone
Thanks for opening your first issue here! Be sure to follow the issue template!
I'm on the same with u
maybe y can see response
The CSRF token is missing.
i'm trying to figure it out but nothing to do right now
No Clue I am getting, whats the issue exactly happening behind
The following issue looks similar to ours:
https://issues.apache.org/jira/browse/AIRFLOW-2866
This is caused by the latest release of Flask-AppBuilder 2.3.3 which updated jQuery to 3.5
Downgrading to FAB 2.3.2 solved it for us.
If you look in the developer console, Many errors are raised when visiting the DAG list or a DAG itself.
Voila...!! Downgrading to FAB 2.3.2, worked. Thanks a lot @Adam-Leyshon
@Adam-Leyshon
thank you . it also work for me ^^
@ryanahamilton want to look at this? (fixing the jquery 3.5 issue).
We do want fab 2.3.3 + jquery 3.5 in Airflow to clear CVE.
Most helpful comment
This is caused by the latest release of Flask-AppBuilder 2.3.3 which updated jQuery to 3.5
Downgrading to FAB 2.3.2 solved it for us.
If you look in the developer console, Many errors are raised when visiting the DAG list or a DAG itself.