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/08/17 19:26:33 UTC

[GitHub] [airflow] PadmajaPeri opened a new issue, #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

PadmajaPeri opened a new issue, #25776:
URL: https://github.com/apache/airflow/issues/25776

   ### Apache Airflow version
   
   Other Airflow 2 version
   
   ### What happened
   
   We are running airflow version 2.3.1 behind an apache proxy. The base_url in the webserver in airflow.cfg is as below - 
   
   [webserver]
   # The base url of your website as airflow cannot guess what domain or
   # cname you are using. This is used in automated emails that
   # airflow sends to point links to the right web server. `airflow` is appended at
   # the end so that authz regex can be defined off of this path
   base_url = https://<host_name>/airflow
   
   On the airflow DAGs page, when I click on "Last Run" (for a DAG) and copy the link address, I see that a https link is generated - 
   https://<host_name>/airflow/graph?dag_id=<dag_id>&execution_date=<some_date>
   
   However, when I load the link, the response is empty. The reason is, the link has been transformed into http as below
   
   http://<host_name>/airflow/dags/<dag_id>/graph?execution_date=<some_date>
   
   ### What you think should happen instead
   
   The returned link should be a https link since the server is running on https
   
   ### How to reproduce
   
   1. Run airflow on https behind a proxy
   2. Click on Last Run
   
   
   ### Operating System
   
   Ubuntu Bionic (18.04LTS)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### 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


[GitHub] [airflow] github-actions[bot] commented on issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #25776:
URL: https://github.com/apache/airflow/issues/25776#issuecomment-1694203983

   This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.


-- 
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] uranusjr commented on issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #25776:
URL: https://github.com/apache/airflow/issues/25776#issuecomment-1226933307

   This is likely related to how your pxory is set up. Generally you need to add the `X-FORWARDED-PROTO` header (and a few others for other purposes) when the proxy forwards the request to the service for things to function properly.


-- 
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] github-actions[bot] commented on issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #25776:
URL: https://github.com/apache/airflow/issues/25776#issuecomment-1733040560

   This issue has been closed because it has not received response from the issue author.


-- 
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] PadmajaPeri commented on issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by GitBox <gi...@apache.org>.
PadmajaPeri commented on issue #25776:
URL: https://github.com/apache/airflow/issues/25776#issuecomment-1226296598

   Hi, Has anyone run into this issue before? Are there any workarounds to get around this issue?


-- 
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] github-actions[bot] closed issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS
URL: https://github.com/apache/airflow/issues/25776


-- 
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 #25776: Airflow returns a http URL when "Last Run" in DAGs Page is clicked though the webserver is configured to run on HTTPS

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #25776:
URL: https://github.com/apache/airflow/issues/25776#issuecomment-1218405913

   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