GitHub user bionexit added a comment to the discussion: Failed to setup alerts and reports based pypi installation
> If you followed the PyPi installation, have you set up a Celery instance? YES, celery is running  Currently, the log shows failed as `STARTTLS extension not supported by server.`  And cerely is configured as ``` from celery.schedules import crontab REDIS_HOST = "localhost" # Change this to your Redis host REDIS_PORT = "6379" # Change this to your Redis port if different REDIS_CELERY_DB = "0" REDIS_RESULTS_DB = "1" class CeleryConfig: broker_url = f"redis://{REDIS_HOST}:{REDIS_PORT}/0" imports = ( "superset.sql_lab", "superset.tasks.scheduler", ) result_backend = f"redis://{REDIS_HOST}:{REDIS_PORT}/0" worker_prefetch_multiplier = 10 task_acks_late = True task_annotations = { "sql_lab.get_sql_results": { "rate_limit": "100/s", }, } beat_schedule = { "reports.scheduler": { "task": "reports.scheduler", "schedule": crontab(minute="*", hour="*"), }, "reports.prune_log": { "task": "reports.prune_log", "schedule": crontab(minute=0, hour=0), }, } CELERY_CONFIG = CeleryConfig from flask_caching.backends.rediscache import RedisCache RESULTS_BACKEND = RedisCache( host=REDIS_HOST, port=REDIS_PORT, key_prefix='superset_results') ``` GitHub link: https://github.com/apache/superset/discussions/32798#discussioncomment-12581961 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
