You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Mikołaj Morawski (Jira)" <ji...@apache.org> on 2019/10/15 14:03:00 UTC

[jira] [Updated] (AIRFLOW-5658) Links issue through reverse proxy access

     [ https://issues.apache.org/jira/browse/AIRFLOW-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikołaj Morawski updated AIRFLOW-5658:
--------------------------------------
     Attachment: image-2019-10-15-16-02-45-731.png
    Description: 
The access through a reverse proxy is not working for the following two uris:

/configuration

/view

 

I think that the root cause is here:

[https://github.com/apache/airflow/blob/master/airflow/www/app.py]
{code:java}
            appbuilder.add_link("Configurations",
                                href='/configuration',
                                category="Admin",
                                category_icon="fa-user")

            appbuilder.add_link('Version',
                                href='/version',
                                category='About',
                                category_icon='fa-th')
{code}
 the "href" parameter does not use the "views" reference here. The add_link should not be used for this reference.  

 

 The second problem is that the "Task Tries" icon is not displayed properly. 

  !image-2019-10-15-16-02-45-731.png!

Regards,

Mikolaj 

 

 

 

 

  was:
The access through a reverse proxy is not working for the following two uris:

/configuration

/view

 

I think that the root cause is here:

[https://github.com/apache/airflow/blob/master/airflow/www/app.py]
{code:java}
            appbuilder.add_link("Configurations",
                                href='/configuration',
                                category="Admin",
                                category_icon="fa-user")

            appbuilder.add_link('Version',
                                href='/version',
                                category='About',
                                category_icon='fa-th')
{code}
 the "href" parameter does not use the "views" reference here. The add_link should not be used for this reference.  

 

 The second problem is that the "Task Tries" icon is not displayed properly. 

 

Regards,

Mikolaj 

 

 

 

 


> Links issue through reverse proxy access 
> -----------------------------------------
>
>                 Key: AIRFLOW-5658
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5658
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui
>    Affects Versions: 1.10.4, 1.10.5
>            Reporter: Mikołaj Morawski
>            Priority: Trivial
>         Attachments: image-2019-10-15-16-02-45-731.png
>
>
> The access through a reverse proxy is not working for the following two uris:
> /configuration
> /view
>  
> I think that the root cause is here:
> [https://github.com/apache/airflow/blob/master/airflow/www/app.py]
> {code:java}
>             appbuilder.add_link("Configurations",
>                                 href='/configuration',
>                                 category="Admin",
>                                 category_icon="fa-user")
>             appbuilder.add_link('Version',
>                                 href='/version',
>                                 category='About',
>                                 category_icon='fa-th')
> {code}
>  the "href" parameter does not use the "views" reference here. The add_link should not be used for this reference.  
>  
>  The second problem is that the "Task Tries" icon is not displayed properly. 
>   !image-2019-10-15-16-02-45-731.png!
> Regards,
> Mikolaj 
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)