[
https://issues.jboss.org/browse/JBIDE-18147?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-18147:
-------------------------------------
Summary: Port forwarding, Environment Variables: Port forwarding tears the SSH session
down, harms environment variables (was: Port forwarding, Environment Variables: Port
forwarding cause tearing down the session)
Port forwarding, Environment Variables: Port forwarding tears the SSH
session down, harms environment variables
---------------------------------------------------------------------------------------------------------------
Key: JBIDE-18147
URL:
https://issues.jboss.org/browse/JBIDE-18147
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.2.0.CR1
Reporter: Marián Labuda
Fix For: 4.2.0.CR2
After starting and stopping port forwarding there happens something wrong with session /
ssh calling. I found it in Environment variables shell after creating env. variable and
clicking on Refresh button. Following error has shown in log and environment variable from
table was not removed, although it should be (Refresh button update local environment
variables to environment variable of an existing OpenShift application).
{code}
com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command
"eap"
at
com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:871)
at
com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:840)
at
com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:614)
at
org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
at
org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
at
org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.jcraft.jsch.JSchException: session is down
at com.jcraft.jsch.Session.openChannel(Session.java:843)
at
com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:865)
... 6 more
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)