[ 
https://issues.apache.org/jira/browse/AIRFLOW-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541382#comment-16541382
 ] 

Rehi, Deepesh commented on AIRFLOW-1566:
----------------------------------------

Hi team,


We have resolved this by downgrading to gunicorn- 19.3.0:
pip install gunicorn==19.3.0


Regards,
Deepesh Rehi


> 'airflow.www.gunicorn_config doesn't exist
> ------------------------------------------
>
>                 Key: AIRFLOW-1566
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1566
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: dud
>            Priority: Major
>             Fix For: 1.8.2
>
>
> Hello
> starting Airflow v1.8.2 webserver yields this error :
> {code}
> $ airflow webserver --pid /run/airflow/webserver.pid -hn localhost
> /home/airflow/.local/lib/python2.7/site-packages/airflow/configuration.py:540:
>  DeprecationWarning: This method will be removed in future versions.  Use 
> 'parser.read_file()' instead.
>   self.readfp(StringIO.StringIO(string))
> [2017-09-05 15:19:05,012] {__init__.py:57} INFO - Using executor 
> CeleryExecutor
> [2017-09-05 15:19:05,063] {driver.py:120} INFO - Generating grammar tables 
> from /usr/lib/python2.7/lib2to3/Grammar.txt
> [2017-09-05 15:19:05,083] {driver.py:120} INFO - Generating grammar tables 
> from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
> /home/airflow/.local/lib/python2.7/site-packages/airflow/www/app.py:23: 
> FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to 
> "CSRFProtect" and will be removed in 1.0.
>   csrf = CsrfProtect()
>   ____________       _____________
>  ____    |__( )_________  __/__  /________      __
> ____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
> ___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
>  _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/
> /home/airflow/.local/lib/python2.7/site-packages/flask_cache/jinja2ext.py:33: 
> ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use 
> flask_cache instead.
>   from flask.ext.cache import make_template_fragment_key
> [2017-09-05 15:19:05,387] [26152] {models.py:168} INFO - Filling up the 
> DagBag from /home/airflow/dags
> Running the Gunicorn Server with:
> Workers: 4 sync
> Host: localhost:8080
> Timeout: 120
> Logfiles: - -
> =================================================================
> Error: 'airflow.www.gunicorn_config' doesn't exist
> {code}
> The use of this file has been introduced by this 
> [commit|https://github.com/apache/incubator-airflow/commit/9d254a317dd54f555270ca568aff1cd0500e1e53]
>  authored by [~xuanji]
> dud



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to