-
I am deploying However, when installing extensions, I am getting the error
The nameservers in the container are internal ones and only resolve internal addresses. So far, so good. However, I would expect Note: I am able to manually download any I've already tried to set the proxy explicitly in the user settings in Is there any additional configuration I need to do to tell |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Just to make sure I am on the same page:
My first guess is that the environment variables are set in your shell, but not in code-server's environment. Can you share more details on how you are running code-server and setting environment variables in the container? I believe you can also set the proxy in the settings, so that might be worth a shot just to see if it is an environment variable issue. |
Beta Was this translation helpful? Give feedback.
Good news! I got is solved.
Turns out it was a wrong specification of
NODE_EXTRA_CA_CERTS
! 🤯️Background: I assumed that
/etc/ssl/certs/ca-bundle.crt
is automatically read, also based on your comment here. And thatNODE_EXTRA_CA_CERTS
only adds additional certs.Turns out that in this case, setting
NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-bundle.crt
solved the issue directly as all required certs were in there and no important ones were in the bundle which I initially referenced viaNODE_EXTRA_CA_CERTS
.Take-away: maybe it is useful to add that piece of information to the docs somewhere?
Overall: thanks for your great patience and tremendous help here: In the end the one-liner to efficiently…