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

Tim updated AIRFLOW-1163:
-------------------------
    Description: 
Cannot access airflow from behind a load balancer.

If we go directly to the IP of the server it loads just fine. When trying to 
use the load balancer cname and forward the request it does not load.

We updated the base_url to be the LB url but it still does not work. The page 
sits and spins forever. Eventually it loads some ui elements.

Here is what I see on the network tab:
https://puu.sh/vC4Zp/e388884131.png

Here is what our config looks like:
{code}
[webserver]
# The base url of your website as airflow cannot guess what domain or
# cname you are using. This is use in automated emails that
# airflow sends to point links to the right web server
base_url = 
http://internal-st-airflow-lb-590109685.us-east-1.elb.amazonaws.com:80

# The ip specified when starting the web server
web_server_host = 0.0.0.0

# The port on which to run the web server
web_server_port = 8080
{code}

  was:
Cannot access airflow from behind a load balancer.

If we go directly to the IP of the server it loads just fine. When trying to 
use the load balancer cname and forward the request it does not load.

We updated the base_url to be the LB url but it still does not work. The page 
sits and spins forever. Eventually it loads some ui elements.

Here is what I see on the network tab:
https://puu.sh/vC4Zp/e388884131.png

Here is what our config looks like:
[webserver]
# The base url of your website as airflow cannot guess what domain or
# cname you are using. This is use in automated emails that
# airflow sends to point links to the right web server
base_url = 
http://internal-st-airflow-lb-590109685.us-east-1.elb.amazonaws.com:80

# The ip specified when starting the web server
web_server_host = 0.0.0.0

# The port on which to run the web server
web_server_port = 8080


> Cannot Access Airflow Webserver Behind AWS ELB
> ----------------------------------------------
>
>                 Key: AIRFLOW-1163
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1163
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: Airflow 1.7.1
>            Reporter: Tim
>
> Cannot access airflow from behind a load balancer.
> If we go directly to the IP of the server it loads just fine. When trying to 
> use the load balancer cname and forward the request it does not load.
> We updated the base_url to be the LB url but it still does not work. The page 
> sits and spins forever. Eventually it loads some ui elements.
> Here is what I see on the network tab:
> https://puu.sh/vC4Zp/e388884131.png
> Here is what our config looks like:
> {code}
> [webserver]
> # The base url of your website as airflow cannot guess what domain or
> # cname you are using. This is use in automated emails that
> # airflow sends to point links to the right web server
> base_url = 
> http://internal-st-airflow-lb-590109685.us-east-1.elb.amazonaws.com:80
> # The ip specified when starting the web server
> web_server_host = 0.0.0.0
> # The port on which to run the web server
> web_server_port = 8080
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to