Hi,

I am trying to configure the Celery [ same machine as airflow], but seeing
"Address already in use" error  in worker logs .. I see following error, if
i kill the process listening to 8793 PORT, then process gets stuck. anyone
has experienced this issue during setup ?


Starting flask
[2017-12-07 03:01:28,430] {_internal.py:87} INFO -  * Running on
http://0.0.0.0:8793/ (Press CTRL+C to quit)

*************** Following is the exception ****************

 Using executor CeleryExecutor
Starting flask
Traceback (most recent call last):
  File "/usr/bin/airflow", line 28, in <module>
    args.func(args)
  File "/usr/lib/python3.6/dist-packages/airflow/bin/cli.py", line 858, in
serve_logs
    host='0.0.0.0', port=WORKER_LOG_SERVER_PORT)
  File "/usr/lib64/python3.6/dist-packages/flask/app.py", line 843, in run
    run_simple(host, port, self, **options)
  File "/usr/lib/python3.6/dist-packages/werkzeug/serving.py", line 739, in
run_simple
    inner()
  File "/usr/lib/python3.6/dist-packages/werkzeug/serving.py", line 699, in
inner
    fd=fd)
  File "/usr/lib/python3.6/dist-packages/werkzeug/serving.py", line 593, in
make_server
    passthrough_errors, ssl_context, fd=fd)
  File "/usr/lib/python3.6/dist-packages/werkzeug/serving.py", line 504, in
__init__
    HTTPServer.__init__(self, (host, int(port)), handler)
  File "/usr/lib64/python3.6/socketserver.py", line 453, in __init__
    self.server_bind()
  File "/usr/lib64/python3.6/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib64/python3.6/socketserver.py", line 467, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

Reply via email to