You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Sumit Maheshwari <su...@gmail.com> on 2016/10/02 14:47:19 UTC

Getting Certificate errors when I run Airflow webserver in dev mode

I always been running webserver in development mode only, but recently I
started to see missing certificates errors in dev mode. However this issue
doesn't occur in normal mode.

I am working on latest master.

*$python setup.py develop*
Finished processing dependencies for airflow==1.7.2.dev0

*$ airflow webserver -d*
[2016-10-02 20:10:31,261] {__init__.py:57} INFO - Using executor
SequentialExecutor
  ____________       _____________
 ____    |__( )_________  __/__  /________      __
____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
 _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/

[2016-10-02 20:10:37,715] [49488] {models.py:168} INFO - Filling up the
DagBag from /Users/sumit/airflow/dags
Starting the web server on port 8080 and host 0.0.0.0.
[2016-10-02 20:10:38,591] [49488] {_internal.py:87} INFO -  * Running on
https://0.0.0.0:8080/ (Press CTRL+C to quit)
[2016-10-02 20:10:38,609] [49488] {_internal.py:87} INFO -  * Restarting
with stat
[2016-10-02 20:10:43,401] {__init__.py:57} INFO - Using executor
SequentialExecutor
  ____________       _____________
 ____    |__( )_________  __/__  /________      __
____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
 _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/

[2016-10-02 20:10:44,557] [49498] {models.py:168} INFO - Filling up the
DagBag from /Users/sumit/airflow/dags
Starting the web server on port 8080 and host 0.0.0.0.
[2016-10-02 20:10:44,953] [49498] {_internal.py:87} WARNING -  * Debugger
is active!
[2016-10-02 20:10:45,092] [49498] {_internal.py:87} INFO -  * Debugger pin
code: 299-506-357
Exception in thread Thread-1:
Traceback (most recent call last):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 810, in __bootstrap_inner
    self.run()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/Users/sumit/src/airflow-sumit/venv/lib/python2.7/site-packages/Werkzeug-0.11.9-py2.7.egg/werkzeug/serving.py",
line 656, in inner
    fd=fd)
  File
"/Users/sumit/src/airflow-sumit/venv/lib/python2.7/site-packages/Werkzeug-0.11.9-py2.7.egg/werkzeug/serving.py",
line 550, in make_server
    passthrough_errors, ssl_context, fd=fd)
  File
"/Users/sumit/src/airflow-sumit/venv/lib/python2.7/site-packages/Werkzeug-0.11.9-py2.7.egg/werkzeug/serving.py",
line 488, in __init__
    self.socket = ssl_context.wrap_socket(sock, server_side=True)
  File
"/Users/sumit/src/airflow-sumit/venv/lib/python2.7/site-packages/Werkzeug-0.11.9-py2.7.egg/werkzeug/serving.py",
line 410, in wrap_socket
    ssl_version=self._protocol, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py",
line 911, in wrap_socket
    ciphers=ciphers)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py",
line 511, in __init__
    raise ValueError("certfile must be specified for server-side "
ValueError: certfile must be specified for server-side operations


Thanks,
Sumit