You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "nesp159de (via GitHub)" <gi...@apache.org> on 2025/03/11 09:43:34 UTC
[I] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
nesp159de opened a new issue, #47603:
URL: https://github.com/apache/airflow/issues/47603
### Apache Airflow version
Other Airflow 2 version (please specify below)
### If "Other Airflow 2 version" selected, which one?
2.10.3
### What happened?
When we use two airflow instances on different ip / machines we can access them in one browser instance and work with them normally and switch windows with airflows freely without enforced logout.
In the case there are two instances (or more) of airflow running on the same machine / ip but only port differs in one browser instance: When user switches to different airflow instance by tab in web browser he is logged out and when returning back user needs to login again.
For me it seems like port is not part of the key of cookies but machine name is.
### What you think should happen instead?
We assume the behaviour should be the same no matter if airflow instances are running on same machine or not.
### How to reproduce
Configure two airflows on one machine but different port (for example http tunnel may be used to emulate it).
Open an instance in one browser instance a switch between windows.
### Operating System
Linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### 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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "nesp159de (via GitHub)" <gi...@apache.org>.
nesp159de commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2983391504
I tested it in Airflow 3.0, it works properly, issue may be closed.
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2776807209
Please do test this in Airflow 3.0 and let us know though!
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "amolsr (via GitHub)" <gi...@apache.org>.
amolsr commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2725170807
Can you check if this is the case for airflow only and not for other open source tools like superset.?
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "adnanhashmi25 (via GitHub)" <gi...@apache.org>.
adnanhashmi25 commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2823855187
can I work on this, It will be my first contribution.
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2727559031
I think you should also check with main version and new UI. We are dropping the old UI and the new UI is quite a different technology with different ways of logging in and storing sessions - we are unlikely to make any changes on Airflow 2 with this
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "nesp159de (via GitHub)" <gi...@apache.org>.
nesp159de closed issue #47603: Airflow does not handle port properly in cookies when more instances opened in one browser
URL: https://github.com/apache/airflow/issues/47603
--
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] Airflow does not handle port properly in cookies when more instances opened in one browser [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #47603:
URL: https://github.com/apache/airflow/issues/47603#issuecomment-2718736221
Extremely low priority and we are not going to work on it now that we have Airflow 3 UI. But If someone would like to take a look at this - feel free.
--
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