You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/05/31 14:20:12 UTC
[GitHub] [airflow] furkan-pensa opened a new issue, #24051: CRSF bad request error when redirected from another website
furkan-pensa opened a new issue, #24051:
URL: https://github.com/apache/airflow/issues/24051
### Apache Airflow version
2.2.5
### What happened
We are giving a link to the Airflow webserver running in a docker container from our UI and when the Airflow UI is opened via that link it errors out saying "Bad Request. The CSRF session token is missing.". When this happens there is no reliable way to make the webserver work again. When I type the URL and and access the webserver, it works until I click on the link on our UI. Then it breaks and doesn't work even if I type the URL.
### What you think should happen instead
There should be a more clear documentation on how to configure and use the CSRF token (aka `secret_key` in webserver section of airflow.cfg).
### How to reproduce
From another website access the Airflow webserver using a hyperlink like below.
```html
<a
:href="`http://localhost:8080`"
target="_blank"
>
Airflow
</a>
```
### Operating System
Ubuntu
### Versions of Apache Airflow Providers
apache/airflow:2.2.5-python3.9 docker image
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CRSF bad request error when redirected from another website [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #24051: CRSF bad request error when redirected from another website
URL: https://github.com/apache/airflow/issues/24051
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CRSF bad request error when redirected from another website [airflow]
Posted by "Tejalgnrml (via GitHub)" <gi...@apache.org>.
Tejalgnrml commented on issue #24051:
URL: https://github.com/apache/airflow/issues/24051#issuecomment-1903385706
Similar issue, upon redirecting the webserver ip through a domain i am facing this issue
Any solutions?
Thanks in advance
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CRSF bad request error when redirected from another website [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #24051:
URL: https://github.com/apache/airflow/issues/24051#issuecomment-1903888164
Possibly the guide might help you. https://airflow.apache.org/docs/apache-airflow/stable/howto/run-behind-proxy.html
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #24051: CRSF bad request error when redirected from another website
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #24051:
URL: https://github.com/apache/airflow/issues/24051#issuecomment-1142200902
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org