bzmatteo72 commented on issue #11765:
URL: 
https://github.com/apache/incubator-superset/issues/11765#issuecomment-737178308


   Hi, sorry for bugging you again!
   
   Now i have fixed the issue with CELERY_RESULT_BACKEND setting it works fine 
like this "db+postgresql://matteo:[email protected]/superset_loc"
   
   But there is still another issue with my Celery configuration (the 
BROKER_URL = "redis://localhost:6379/0" i guess...)
   
   This is the new error i get when i attempt to start the CELERY WORKER
   
   
   (env4) matteo@mbalzarotti-NB:~/superset$ celery worker 
--app=superset.tasks.celery_app:app --pool=prefork -O fair -c 4
   Loaded your LOCAL configuration at 
[/home/matteo/superset/config/superset_config.py]
   logging was configured successfully
   INFO:superset.utils.logging_configurator:logging was configured successfully
   
/home/matteo/superset/env4/lib/python3.7/site-packages/flask_caching/__init__.py:192:
 UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively 
disabled.
     "Flask-Caching: CACHE_TYPE is set to null, "
   No PIL installation found
   INFO:superset.utils.screenshots:No PIL installation found
   
    -------------- celery@mbalzarotti-NB v4.4.7 (cliffs)
   --- ***** -----
   -- ******* ---- Linux-4.4.0-18362-Microsoft-x86_64-with-debian-10.6 
2020-12-02 12:35:25
   - *** --- * ---
   - ** ---------- [config]
   - ** ---------- .> app:         __main__:0x7fcc30479550
   - ** ---------- .> transport:   redis://localhost:6379/0
   - ** ---------- .> results:     postgresql://matteo:**@127.0.0.1/superset_loc
   - *** --- * --- .> concurrency: 4 (prefork)
   -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this 
worker)
   --- ***** -----
    -------------- [queues]
                   .> celery           exchange=celery(direct) key=celery
   
   
   [2020-12-02 12:35:25,656: ERROR/MainProcess] consumer: Cannot connect to 
redis://localhost:6379/0: Error 111 connecting to localhost:6379. Connection 
refused..
   Trying again in 2.00 seconds... (1/100)
   
   [2020-12-02 12:35:27,665: ERROR/MainProcess] consumer: Cannot connect to 
redis://localhost:6379/0: Error 111 connecting to localhost:6379. Connection 
refused..
   Trying again in 4.00 seconds... (2/100)
   
   ....


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to