Skip to content
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

Can't install an extension from the embedded openVSX #21662

Closed
Tracked by #20549 ...
svor opened this issue Aug 26, 2022 · 2 comments · Fixed by che-incubator/che-code#98
Closed
Tracked by #20549 ...

Can't install an extension from the embedded openVSX #21662

svor opened this issue Aug 26, 2022 · 2 comments · Fixed by che-incubator/che-code#98
Labels
area/editor/vscode Issues related to the Code OSS editor of Che area/plugin-registry kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/current

Comments

@svor
Copy link
Contributor

svor commented Aug 26, 2022

Describe the bug

After switching to the local plugin registry it's not possible to install any extension into Che-Code.
The error message is:

Error while installing 'Go' extension. Please check the log for more details.
onDidChangeNotification @ workbench.web.main.js:808
(anonymous) @ workbench.web.main.js:808
invoke @ workbench.web.main.js:80
deliver @ workbench.web.main.js:80
fire @ workbench.web.main.js:80
addNotification @ workbench.web.main.js:808
notify @ workbench.web.main.js:1996
prompt @ workbench.web.main.js:1996
run @ workbench.web.main.js:3126
install @ workbench.web.main.js:3126
await in install (async)
run @ workbench.web.main.js:3126
run @ workbench.web.main.js:3126
runAction @ workbench.web.main.js:80
run @ workbench.web.main.js:80
onClick @ workbench.web.main.js:174
(anonymous) @ workbench.web.main.js:174
workbench.web.main.js:600   ERR self signed certificate in certificate chain: Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
    at TLSSocket.emit (node:events:520:28)
    at TLSSocket._finishInit (node:_tls_wrap:944:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)

Che version

next (development version)

Steps to reproduce

  1. Update Che CR by setting openVSXURL with empty value to use the embedded plugin registry:
    pluginRegistry:
      openVSXURL: ''
  1. Delete dashboard pod because of Dashboard does not respect CheCluster CR changes #21654
  2. Start any workspace with Che-Code
  3. Try to install any extension

Expected behavior

The extension should be installed

Runtime

OpenShift

Screenshots

screenshot-eclipse-che apps ci-ln-8wx7y9b-72292 origin-ci-int-gce dev rhcloud com-2022 08 26-14_01_04

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

@svor svor added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. area/plugin-registry area/editor/vscode Issues related to the Code OSS editor of Che labels Aug 26, 2022
@benoitf
Copy link
Contributor

benoitf commented Aug 26, 2022

looks like an issue on certificates not being trusted

@svor
Copy link
Contributor Author

svor commented Aug 26, 2022

@benoitf maybe it'll solve the problem: che-incubator/che-code#96
to use internal plugin registry URL

benoitf added a commit to benoitf/che-code that referenced this issue Sep 1, 2022
Fixes eclipse-che/che#21662

Change-Id: I1a4a052c48cfedbd9906b9ebc9789bea9bacfbd4
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
benoitf added a commit to che-incubator/che-code that referenced this issue Sep 6, 2022
Fixes eclipse-che/che#21662

Change-Id: I1a4a052c48cfedbd9906b9ebc9789bea9bacfbd4
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/vscode Issues related to the Code OSS editor of Che area/plugin-registry kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. sprint/current
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants