Alerts and reports feature not working. URL not found #35642
Replies: 3 comments 2 replies
-
The "URL not found" error for alerts and reports in Superset 4.1.3 is most often caused by the required feature flags not being enabled. Make sure you have If the feature flag is disabled, Superset will return a 404 for all alerts and reports endpoints, which matches the error you're seeing source. Also, for Superset 4.1.x and above, you need to have a headless browser (Playwright with Chrome is recommended) installed in your worker container, and the relevant feature flag set source. Double-check your config for these flags and browser setup. If you still see the error after enabling the flags, please share the specific URL that fails and any relevant logs for deeper troubleshooting. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
I have Alerts & Reports working great on 4.1.3 so I expect this is a matter of configuring your deployment. I'm going to convert this to a discussion, not a bug report, given that - but if we turn up something that needs fixing we can revisit that. Can you share more about how you have Superset deployed? And try the steps here: https://superset.apache.org/docs/configuration/alerts-reports/#troubleshooting |
Beta Was this translation helpful? Give feedback.
-
The "URL not found" error for alerts and reports in Superset is almost always caused by the Make sure your FEATURE_FLAGS = {
"ALERT_REPORTS": True,
# ...other flags
} You also need to have Celery (and a suitable broker like Redis or RabbitMQ) running, as alerts and reports depend on background tasks for scheduling and execution. If Celery isn't running, the UI may appear but reports won't actually process or send. If you enable the flag and still see 404s, double-check that your Superset instance is loading the correct config file and that you don't have a typo in the flag name or config structure. References:
To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
Hey y'all, I've been trying to implement the alerts and reports feature but I've been getting the following error message: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. I've defined the cookie domain parameter in the superset_confing.py file and I've checked that it matches superset's address. Other that that I haven't found any likely reasons for this error upon googling it. Any help is appreciated, thanks in advance!
Screenshots/recordings
No response
Superset version
4.1.3
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions