Screen goes blank in Admin section when trying to edit Field (gear icon)

Hello,

I've seen a couple of similar issues in previous bug reports / issues, but nothing that was able to solve this specific instance.

Context:

I'd like to go into the admin settings and edit some filtering behavior for certain fields, but when I try to do that (Admin > Data Model > (db) > (table) > (field) gear-icon :gear: ) for any field, I see the next screen temporarily (for a little bit less than a second), but then everything goes blank. I then have to completely reload the main page to restore things (hitting the back button in my browser persists the blank screen problem):

Next page:

I do see some errors in the console, e.g primarily things like:

vendor.bundle.js?9b28788fde2d0d92025f:1 TypeError: Cannot read properties of null (reading 'schema')
    at app-main.bundle.js?69115574705e35541099:1
    at Array.map (<anonymous>)
    at app-main.bundle.js?69115574705e35541099:1
    at ye (app-main.bundle.js?69115574705e35541099:1)
    at app-main.bundle.js?69115574705e35541099:1
    at vendor.bundle.js?9b28788fde2d0d92025f:1
    at vendor.bundle.js?9b28788fde2d0d92025f:1
    at vendor.bundle.js?9b28788fde2d0d92025f:1
    at vendor.bundle.js?9b28788fde2d0d92025f:1
    at Object.getObject (app-main.bundle.js?69115574705e35541099:1)

but that's kind of the end of my understanding at that point.

There is an error that may suggest some "security" issue with our reverse proxy provider:

Refused to load manifest from 'https://<....>cloudflareaccess.com<...>' because it violates the following Content Security Policy directive: "manifest-src 'self'".

, which could be the issue (an issue with the reverse proxy is still giving me issues with the Metabase API; however, this would be surprising as this used to work without any problem a couple weeks ago, and nothing has changed with the server / reverse proxy in that time (to my knowledge).

Would you be able to point me in the right direction to figure out the root cause of this bug?

Here is my diagnostic info:

{
  "browser-info": {
    "language": "en-GB",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.12+7",
    "java.vendor": "Eclipse Foundation",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.12",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.12+7",
    "os.name": "Linux",
    "os.version": "5.4.0-70-generic",
    "user.language": "en",
    "user.timezone": "GMT"
  },
  "metabase-info": {
    "databases": [
      "postgres"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "14.0 (Debian 14.0-1.pgdg110+1)"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.2.23"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "2021-10-06",
      "tag": "v0.41.0",
      "branch": "release-x.41.x",
      "hash": "c529fe2"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

and I am querying PostgreSQL 12.2 (Ubuntu 12.2-4).

Thank you!

Hi @alarmingboots
You're seeing this issue, which is fixed and will be part of 0.41.1:
https://github.com/metabase/metabase/issues/18384
As for reverse-proxies: https://www.metabase.com/docs/latest/troubleshooting-guide/proxies.html

Hi @flamber,

Thanks for the super quick response as always. I will look into this now.
Actually, as soon as I posted this question, I just realized that literally the previous question before was about this same issue :see_no_evil: -- sorry about that!