You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 17:59:04 UTC
[jira] [Commented] (AIRFLOW-1163) Cannot Access Airflow Webserver
Behind AWS ELB
[ https://issues.apache.org/jira/browse/AIRFLOW-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601346#comment-16601346 ]
Apache Spark commented on AIRFLOW-1163:
---------------------------------------
User 'c4milo' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3580
> 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
> Assignee: Fokko Driesprong
> Priority: Major
> Fix For: 2.0.0
>
>
> 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
(v7.6.3#76005)