Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Brave
- Local OS: MacOS Monterey
- Remote OS: debian
- Remote Architecture: amd54
code-server --version
: 4.0.1 735c6da
Steps to Reproduce
- run code-server --bind-addr 0.0.0.0:443 --cert -- /app
- Connect to the address
- Click an image
Expected
Image should be shown in editor
Actual
An SSL certificate error occurred when fetching the script.
log.ts:313 ERR [Service Worker] registration DOMException: Failed to register a ServiceWorker for scope ('https://--server--/') with script ('https://--server--/service-worker.js'): An SSL certificate error occurred when fetching the script.
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code?
- I cannot reproduce this in VS Code.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
Please note i'm running it in docker but 443 is exposed (via 8080 in my case).
This is a re-opening of #4658