Icons not showing

SonarQube version:

  • Developer Edition
  • v2025.1.1 (104738)

Deployed via: Docker

Trying to achieve: see the icons

Tried so far: CTRL+SHIFT+R

I see these two error in console related to the two font-faces “Material Symbol Rounded” and “Echoes”:

Refused to load the font ‘data:font/woff2;base64,d09GMgABAAAAABrUABEAAAAASNwAABpyAAEAAAAAAAAAAAAAAAAA[…]BBYCNkEwPb3mAzrXK9yewg3qkwQkv5Kj3BVGX0wo67C13g80zIEpJoOk8lX5Ql5fu71QcAAA==’ because it violates the following Content Security Policy directive: “font-src ‘self’ https://fonts.gstatic.com”.

Refused to load the font ‘data:font/woff2;base64,d09GMgABAAAAABXkAA8AAAAALJQAABWNAAEAAAAAAAAAAAAAAAAA[…]roay7u1MILh/CBDYU/K2jI3J5i21neKvpVeQUaZ14p6qwc1z9D5+jP4PkF/+iMnft/J5Yl3E8C’ because it violates the following Content Security Policy directive: “font-src ‘self’ https://fonts.gstatic.com”.

Hi Roberto!

Welcome to the community forum!

Looking at our source code the CSP for font-src is supposed to have the value 'self' data: (set here).
That CSP would allow the fonts to be loaded.

So I don’t know why you have a different value there? Did you customize it somehow? Or you have a proxy in between that sets up a custom CSP?

1 Like

Uops… actually yes I have a nginx reverse proxy which DID rewrite the CSP.
Removing the custom CSP fixed the issue.
Didn’t even remember the reverse proxy had it, we never touched it since we put it in place years ago.

Thank you very much.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.