Is there an existing issue for this?
OS/Web Information
- Web Browser: Firefox 114.0.2
- Local OS: Windows 10
- Remote OS: Ubuntu 22.04.2 LTS
- Remote Architecture: amd64
code-server --version: 4.14.1 5c19962 with Code 1.79.2
Steps to Reproduce
- Access code-server from behind an Apache reverse proxy.
Expected
Codicon font should load allowing for display of the UI elements dependent on it.
Actual
Font fails to load. UI icons are replaced with hex squares.
The font loads properly when accessed directly (bypass proxy) using the same browser.
Logs
Browser console log (fqdn has been obfuscated).
downloadable font: bad table directory searchRange (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: bad table directory entrySelector (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: bad table directory rangeShift (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: 0GSU: invalid table offset (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: rejected by sanitizer (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
Screenshot/Video

Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
So far all other tested functionality behind the Apache proxy is working except for this one display issue. I've hit a wall trying to figure out why the font is failing to load.
Relevant portions of my apache config:
# Configure rev proxy.
ProxyRequests Off
ProxyPass / https://vscode.intdomain.tld/ upgrade=websocket
ProxyPassReverse / https://vscode.intdomain.tld/
ProxyPassReverseCookieDomain vscode.intdomain.tld vscode.domain.tld
ProxyPreserveHost On
ProxyHTMLEnable On
ProxyHTMLMeta On
ProxyHTMLExtended On
RequestHeader unset Accept-Encoding
ProxyHTMLURLMap https://vscode.intdomain.tld/ /
Is there an existing issue for this?
OS/Web Information
code-server --version: 4.14.1 5c19962 with Code 1.79.2Steps to Reproduce
Expected
Codicon font should load allowing for display of the UI elements dependent on it.
Actual
Font fails to load. UI icons are replaced with hex squares.
The font loads properly when accessed directly (bypass proxy) using the same browser.
Logs
Browser console log (fqdn has been obfuscated).
downloadable font: bad table directory searchRange (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: bad table directory entrySelector (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: bad table directory rangeShift (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: 0GSU: invalid table offset (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
downloadable font: rejected by sanitizer (font-family: "codicon" style:normal weight:400 stretch:100 src index:0) source: https://vscode.domain.tld/stable-695af097c7bd098fbf017ce3ac85e09bbc5dda06/static/out/vs/base/browser/ui/codicons/codicon/codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6
Screenshot/Video
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
So far all other tested functionality behind the Apache proxy is working except for this one display issue. I've hit a wall trying to figure out why the font is failing to load.
Relevant portions of my apache config: