-
Notifications
You must be signed in to change notification settings - Fork 6k
Can't install extension(s) #1173
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
Comments
CC @kylecarbs we have another registry bug apparently. |
@sr229 can you reproduce? |
@kylecarbs Extension should install fine by now. If they still don't install, then it's a ISP/Network issue. |
@sr229 can I enable some kind of log to see if such an issue happens on ISP or network level |
The same issue has occurred. |
I'm also seeing this |
I have solved this issue, which is caused by ISP network. |
Can access the URL (so network is fine), but the path seams to be wrong and give 404: $ curl -v https://v1.extapi.coder.com/publishers/vscode-icons-team/vsextensions/vscode-icons/9.5.0/vspackage
* About to connect() to v1.extapi.coder.com port 443 (#0)
* Trying 216.58.204.115...
* Connected to v1.extapi.coder.com (216.58.204.115) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=v1.extapi.coder.com
* start date: Oct 25 14:41:37 2019 GMT
* expire date: Jan 23 14:41:37 2020 GMT
* common name: v1.extapi.coder.com
* issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
> GET /publishers/vscode-icons-team/vsextensions/vscode-icons/9.5.0/vspackage HTTP/1.1
> User-Agent: curl/7.29.0
> Host: v1.extapi.coder.com
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Tue, 19 Nov 2019 00:03:41 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 209
< Vary: Accept-Encoding
< X-Powered-By: Express
< Access-Control-Allow-Origin: *
< Content-Security-Policy: default-src 'self'
< X-Content-Type-Options: nosniff
< Via: 1.1 google
<
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /publishers/vscode-icons-team/vsextensions/vscode-icons/9.5.0/vspackage</pre>
</body>
</html>
* Connection #0 to host v1.extapi.coder.com left intact Installing through CLI works fine, but not in UI: $ code-server --install-extension vscode-icons-team.vscode-icons
Installing extensions...
Installing extension 'vscode-icons-team.vscode-icons' v9.5.0...
Extension 'vscode-icons-team.vscode-icons' v9.5.0 was successfully installed. |
I was also able to install through CLI get same error as @zigarn otherwise though |
the same problem |
When installing through the UI, I have this in the logs:
Leads to #1007 |
@zigarn How did you get the log? I have the same problem on macOS, but I see no detailed log from the OUTPUT panel. |
Logs are not in STDOUT but in |
Thanks @zigarn. This is unfortunate, I used to sync all my settings via Settings Sync extension, now it keeps telling me no internet connection, now I have to install & config them manually, don't know if it relates to this problem. |
The manual installation is definitely a problem, we forgot to implement the endpoint properly in the extension marketplace. I'll make sure this is mentioned in #1299 Otherwise, if installation is still a problem, please feel free to reopen. |
- Latest release of code-server use a tag name different from release name - Use NODE_EXTRA_CA_CERTS to install extensions even on CLI (coder/code-server#1173)
code-server
version: 2.1688-vsc1.39.2Description
When trying to install extensions from the extension directory I receive "failed to install xyz"
If I follow the link to the download I get another error "cannot get publisher ..." in the browser.
Steps to Reproduce
Open extensions
select "java extension pack" or "go" or "gitlens"
click "install"
see error

click "download manually"
see next error

The text was updated successfully, but these errors were encountered: