CRW 2.x Terminal fails

Solution Verified - Updated -

Environment

CodeReady Workspaces (CRW) 2.x

Issue

Bringing up a terminal from a workspace fails.

Resolution

The problem was communication between Theia and CRW server.

  • We accessed the CRW server from a browser, exported the root and intermediate certificates (these were used to sign a wildcard certificate presented by the server.)
  • We placed the two certificates in two files in a directory, then made a configmap (oc create configmap myconfigmap --from-file=TheDirectory)
  • We then updated the CheCluster server spec for 'serverTrustStoreConfigMapName' to reference the configmap. This solved the issue.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments