I too many warnings on the browser console

When I load a dashboard with many questions CPU goes to 100% and is responding slowly
the console is filled with hundreds of errors.
My end users are complaining because this makes the user experience bad.

Here is a picture with the message on a simple question.
In my dashboard I have hundreds of unknown type warnings.

To reproduce:

  1. Create a question
  2. Use sample dataset
  3. Select a table
  4. Join another table
  5. Sum with something
  6. Do a group by to a name field of the joined table

I use:

  • postgres 9.6
  • metabase 0.35.3
  • Chrome Version 81.0.4044.92 (Official Build) (64-bit)
  • and Firefox 72.0.1 (64-bit)

{
“browser-info”: {
“language”: “en-US”,
“platform”: “Linux x86_64”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36”,
“vendor”: “Google Inc.”
},
“system-info”: {
“file.encoding”: “UTF-8”,
“java.runtime.name”: “OpenJDK Runtime Environment”,
“java.runtime.version”: “11.0.5+10”,
“java.vendor”: “AdoptOpenJDK”,
“java.vendor.url”: “https://adoptopenjdk.net/”,
“java.version”: “11.0.5”,
“java.vm.name”: “OpenJDK 64-Bit Server VM”,
“java.vm.version”: “11.0.5+10”,
“os.name”: “Linux”,
“os.version”: “4.4.0-154-generic”,
“user.language”: “en”,
“user.timezone”: “GMT”
},
“metabase-info”: {
“databases”: [
“postgres”,
“h2”
],
“hosting-env”: “unknown”,
“application-database”: “postgres”,
“application-database-details”: {
“database”: {
“name”: “PostgreSQL”,
“version”: “9.6.17”
},
“jdbc-driver”: {
“name”: “PostgreSQL JDBC Driver”,
“version”: “42.2.8”
}
},
“run-mode”: “prod”,
“version”: {
“date”: “2020-04-21”,
“tag”: “v0.35.3”,
“branch”: “release-0.35.x”,
“hash”: “1d424cb”
},
“settings”: {
“report-timezone”: null
}
}
}

Log

[e768d466-20b9-4b22-9df6-bdd5ab6c2073] 2020-04-23T11:04:25+03:00 DEBUG metabase.middleware.log GET /api/table/2/query_metadata 200 21.9 ms (11 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (4 idle, 0 queued) (108 total active threads) Queries in flight: 0 (0 queued)
[e768d466-20b9-4b22-9df6-bdd5ab6c2073] 2020-04-23T11:04:25+03:00 DEBUG metabase.middleware.log GET /api/table/1/query_metadata 200 12.5 ms (8 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (4 idle, 0 queued) (108 total active threads) Queries in flight: 0 (0 queued)
[e768d466-20b9-4b22-9df6-bdd5ab6c2073] 2020-04-23T11:04:25+03:00 DEBUG metabase.middleware.log GET /api/table/3/query_metadata 200 10.5 ms (8 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (3 idle, 0 queued) (108 total active threads) Queries in flight: 0 (0 queued)

Hi @kostas
You can ignore those warnings, they shouldn’t be a problem.
How many cards/questions do you have on a dashboard?
Are you seeing the problem on both Chrome and Firefox?
Have you tried to start the browser without any extensions/addons?

Thanks for the quick reply.
Yes I tried with no extensions with both browsers.
Is there any way I can disable them? In a dashboard I have I get like 5k of them.

@kostas
How many cards/questions do you have on a dashboard?
Unless your browser has the console window open, then debug warnings like that should not make any difference for the browser.

I have 10 questions and yes the warnings are not creating a problem when the console windows is closed.
So maybe something else is creating the problem.

@kostas Okay, 10 is nothing - we’ve seen dashboards with 100s of questions, and that can cause all types of problems.

Which type of visualizations is it? There’s been a problem for some with pie charts.

And by any chance, do you have page zoom? Then there should be an error about “too much recursion”, but it doesn’t sound like you’re seeing those.

@flamber I have no visualizations only table lists and no page zoom.

@kostas There’s an issue open about loading dashboards is crashing the browser, but we haven’t been able to reproduce it. That’s the only issue I can think of, which could be what you’re seeing: https://github.com/metabase/metabase/issues/10127