-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extensions in devcontainer.json
are not automatically installed
#6268
Comments
Ok, I fixed this issue with a clearer mind. I'll leave a note here for posterity: Retrieve the (corporate) certificate and save it at
There is no need to install the certificates with |
The solution does not work any longer. Despite
Then, if I install the extension from the GUI, I get in
So, it says there is a problem with the certificate but then the extension is installed anyway. I am using vscode insider v. 1.66.0 |
Tracking as #2393. |
Steps to Reproduce:
I have similar problems to #2987 #986 #5620 but I could not find the solution there. I also tried the vscode insider.
I am on a business computer running Windows 10 (+ Ubuntu WSL). This machine has some custom proxy/certificates in place. Extensions defined in
.devcontainer/devcontainer.json
are not installed during the container build process---but they can be installed with the GUI later on (as indicated in the last part of the attached log). A part from (silently) not installing the extensions, everything is fine. Before doing anything, I checked if there were some issues with proxy/certificates in the container terminal. I couldping
/curl
websites and I couldapt update && apt upgrade
without problems. This suggests that the custom network settings are correctly picked up by the container (perhaps from the WSL?).Running the
server.sh
code to install the extension as it appears in the logs (and addingexport NODE_TLS_REJECT_UNAUTHORIZED=0
as an attempt to fix the issue)but it issues the error
unable to get local issuer certificate
.As I said, the container seems to have all the correct network parameters in place, but still I get an error on missing certificates. I also added
export NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
(and reinstalled the corporate certificates) but the problem persists.Would you be able to help?
The text was updated successfully, but these errors were encountered: