Failed at generating thumbnail SoftTimeLimitExceeded() #34092
Replies: 1 comment
-
| 
        
 Hi @shaymongracia! I'm Dosu and I’m helping the superset team. The SoftTimeLimitExceeded errors are happening because the Celery task for generating thumbnails is waiting too long for the /login/ page to load—this is a required step for Selenium to inject the session cookie before accessing the chart or dashboard. If /login/ is slow, the whole screenshot process stalls and eventually hits the 5-minute soft time limit set for the task, causing it to fail code reference. Common causes for slow /login/ in this context are: a slow session backend (like a database or Redis), static asset loading issues, cookie misconfiguration (domain, samesite, etc.), or server resource constraints. In isolated environments, missing or misconfigured static assets or session storage can also cause delays discussion. Here’s what you can do: 
 If you can’t immediately resolve the slowness, you can try increasing  If  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.
-
does someone getting this SoftTimeLimitExceeded, I'm trying to get the thumbnails and reports but when I check celery logs I saw a bunch of SoftTimeLimitExceeded. I'm wondering what could be causing it, I see that navigating to the path
/login/it takes longI did change the WEBDRIVER_BASEURL to
WEBDRIVER_BASEURL = "http://localhost:8088"andWEBDRIVER_BASEURL = "http://0.0.0.0:8088"but seems to be no differencein this server we are running Superset 4.1.2 with Python 3.10 and Ubuntu 24.04
this server due to security reasons have no internet access but the request should be localhost only so I don't see this could be the reason for the timeout.
Beta Was this translation helpful? Give feedback.
All reactions