GitHub user dosubot[bot] added a comment to the discussion: Run Alert&Report crontab occurred: ConnectionRefusedError: [Errno 111] Connection refused
<!-- Answer --> This error is almost always caused by the worker (like Celery) not being able to reach the Superset webserver at the URL set in your config. Right now, your WEBDRIVER_BASEURL is set to `http://0.0.0.0:8080`, which is not reachable from other containers or hosts—`0.0.0.0` means “all interfaces” for binding, not for connecting. You need to set WEBDRIVER_BASEURL to a hostname or service name that the worker can actually reach, for example, `http://superset:8088` if you’re using Docker Compose and your Superset service is named `superset` [cite](https://github.com/apache/superset/blob/05994319b72d96facf065a4299b2ad9b79a25ab9/superset/config.py). Check that: - The Superset webserver is running and accessible from the worker environment. - WEBDRIVER_BASEURL in your config (superset_config.py or config.py) points to a reachable address, not `0.0.0.0`. - Your Docker Compose (now `compose.yml`) includes Redis and Postgres, and the network allows the worker to reach the webserver [cite](https://github.com/apache/superset/discussions/31647) [cite](https://github.com/apache/superset/pull/33790). You should also confirm that the feature flag for alerts and reports is enabled (`FEATURE_FLAGS = { "ALERT_REPORTS": True }`), Celery is configured with the right beat_schedule, and `ALERT_REPORTS_NOTIFICATION_DRY_RUN` is set to `False` if you want real notifications [cite](https://github.com/apache/superset/discussions/31647). To troubleshoot, try running `curl http://superset:8088/` (or whatever your correct URL is) from inside your worker container to verify connectivity. If you get a connection refused, double-check your network and service names. Let me know if you need help with the exact config lines or want to share your setup for more specific advice. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a8e969b7-3282-4a46-adf3-2fc510af0d2a?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33856) GitHub link: https://github.com/apache/superset/discussions/33856#discussioncomment-13545812 ---- 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]
