Closed mjshashank closed 5 years ago
@mjshashank thanks for a detailed analysis. Someone from the IDE team will check.
@eivantsov Sorry to be bumping this issue again, but any updates on this?
Any update on this topic ? I have the same issue. It works at home (local network), but when I login remotely via browser , I have to same error "Failed to connect to terminal. Can not load term.js script".
not actual, at the moment all should works
Description
I have deployed Che on Kubernetes and I'm creating a workspace as defined by the config below. It has two containers (Machine names: helper-machine and dev-machine) described by the recipe which is a kubernetes pod specification. The helper-machine has
ws-agent
and dev-machine hasterminal agent
andexec agent
.While everything boots properly, on reopening the workspace from the dashboard or otherwise it appears that Che for some reason attempts to start a terminal by default on the helper-machine (maybe because it is the one with ws-agent?). But this obviously fails since helper-machine does not have terminal agent but I now have a continuous stream of error notifications in the event log with a non functional terminal tab that need to be closed manually.
I've tried rearranging the machines in the config and changing names just in case it was alphabetical, but to no effect. My standing assumption is that the default terminal is created on the container with ws-agent installed on it. Is this true? If yes, is there a workaround or is it a bug that needs to be fixed?
Factory Config from which workspace was created.
OS and version:
Che 6.6.0 on Kubernetes (Multi-user setup)