Hi guys, the admin email is not showing on query timeout which is odd because on older version it used to show.
i checked the settings table in metabasedb and the email is there, idk what is the problem.
i'm running the latest version of metabase v0.49.11
Thanks for letting us know! There's a bug report in for this now:
opened 09:06PM - 20 May 24 UTC
Type:Bug
Priority:P2
.Needs Triage
### Describe the bug
When a question times out you're presented with the messag… ing "Your Question Took Too Long". Below that the admin email address is included. The admin email is not displaying.
### To Reproduce
1. I just made a big test table in Postgres:
CREATE TABLE large_table (
id SERIAL PRIMARY KEY,
data1 INT,
data2 INT,
data3 TEXT
);
-- Insert a large number of rows into the table
INSERT INTO large_table (data1, data2, data3)
SELECT
(random() * 1000000)::int,
(random() * 1000000)::int,
md5(random()::text)
FROM generate_series(1, 10000000);
2. Executed this SQL Query on the DB a few times and then added it to Metabase as a native SQL question:
SELECT
t1.id,
t1.data1,
t1.data2,
AVG(t2.data1) AS avg_data1,
COUNT(t2.id) AS count_data2
FROM
large_table t1
JOIN
large_table t2 ON t1.data1 = t2.data2
GROUP BY
t1.id, t1.data1, t1.data2
HAVING
COUNT(t2.id) > 10
ORDER BY
avg_data1 DESC;
3. Eventually it times out and we get:

### Expected behavior
We should see the admin email address
### Logs
_No response_
### Information about your Metabase installation
```JSON
{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.23+9",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.23",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.23+9",
"os.name": "Linux",
"os.version": "5.15.133.1-microsoft-standard-WSL2",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"h2",
"postgres"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "11.22 (Debian 11.22-1.pgdg110+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.7.2"
}
},
"run-mode": "prod",
"version": {
"date": "2024-05-09",
"tag": "v1.49.9",
"hash": "c0913c7"
},
"settings": {
"report-timezone": null
}
}
}
```
### Severity
Annoying
### Additional context
_No response_
@leeloo
when this bug fix coming out? it's not in the last 2 updates
Luiggi
June 3, 2024, 12:32pm
4
it has been released in v50-RC1