Alerts and reports notification fails due to selenium exception #19334
Replies: 9 comments 28 replies
-
Hey there, moving to Discussion so hopefully someone in the community will help with debugging 🙏 If there's a clear bug you can help the community reproduce, then definitely open a Github Issue! |
Beta Was this translation helpful? Give feedback.
-
Maybe try
|
Beta Was this translation helpful? Give feedback.
-
Seems this error is coming because of the screenshot timeout issue. You need to try making changes to the timeout values and check it.
|
Beta Was this translation helpful? Give feedback.
-
So I noticed that this issue is only prevalent for me when I use the new filter (the version that is built into the dashboard as opposed to being a chart type). Maybe the issue is related? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have tried different scenarios for this. I am able to reproduce the error whenever I am using the native filters(new filters on the left panel) along with passing Jinja templating. In all other cases reports are successfully sent for me. |
Beta Was this translation helpful? Give feedback.
-
Hi, We were facing the errors below:
and we noticed a connection error too:
Solution: After analyzing the errors and listing when the problem started to happen, we identified that the Superset admin user had been deactivated. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, turned out to be one of the filters having the "Select first filter value by default" option selected. Changed this to a specified default value in the "DEFAULT VALUE" dropdown (I required a default for jinja templating) and all sprung to life. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue: "Selenium timed out requesting url http://superset:8088/..." |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
After scheduling a report for either chart of dashboard, using smtp, The report fails to send the message with the following error in worker pod:
Also, in under reports -> logs in UI screen i see this error
Failed taking a screenshot local variable 'element' referenced before assignment
How to reproduce the bug
1 - setup alerts, smtp and google chrome driver for selenium
2 - schedule a report
3 - follow logs
Expected results
An email with the relevant dashboard/chart should be sent
Actual results
Selenium fails to take a screenshot fails, I'm getting an email with a failure message as described above
Screenshots
Environment
chrome 99.0.4844.51
1.4.1
Python 3.8.12
my configuration
Beta Was this translation helpful? Give feedback.
All reactions