Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Bing
- Local OS: MacOS Sonoma Version 14.7 (23H124)
- Remote OS: Linux 8021b6402892 6.8.8-300.fc40.aarch64 running in a Docker container
- Remote Architecture: aarch64
code-server --version
: 4.93.1
Steps to Reproduce
- Create a folder .config in your current path
mkdir -p ~/Documents/jupyterlab_upgrade/.config
- Create a folder .local in your current path:
mkdir -p ~/Documents/jupyterlab_upgrade/.local
- Run a container based on the official code-server image (https://hub.docker.com/r/codercom/code-server) by using the command:
docker run -it --name codercom-code-server -p 127.0.0.1:8080:8080 \
-v "$PWD/.local:/home/coder/.local" \
-v "$PWD/.config:/home/coder/.config" \
-v "$PWD:/home/coder/project" \
-e PUID=1000 \
-e PGID=1000 \
codercom/code-server:latest
- Access the code-server UI from the browser (Bing) at this address http://127.0.0.1:8080
- Install one extension using the "Extensions" button from the UI
Expected
I would expect to have the extension correctly installed.
Actual
I get an Error: unable to verify the first certificate
Logs
2024-10-07 13:18:22.181 [error] Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
2024-10-07 13:18:22.196 [error] unable to verify the first certificate: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
2024-10-07 13:18:46.634 [error] Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
2024-10-07 13:18:46.647 [error] unable to verify the first certificate: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
This cannot be tested in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response