[jbosstools-issues] [JBoss JIRA] (JBIDE-15832) Unable to create SSH session

Marián Labuda (JIRA) jira-events at lists.jboss.org
Fri Nov 1 07:10:01 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marián Labuda updated JBIDE-15832:
----------------------------------

    Description: 
Sometimes cannot create new / publish existing / import app bcs. of authentication fail.

Issue probably related to JBIDE-15679, unfortunately I don't know how to reproduce this bug (I have noticed it occurs e.g. when I change location from where I am creating / modyfing app = change of IP or turn on/off JBDS/JBT).

Eclipse log 1: 
{code}
Unable to create SSH session for application 'ApplicationResource [uuid=5271107a3b696e75f9000032, name=diy, creationTime=Wed Oct 30 14:58:18 CET 2013, cartridge=StandaloneCartridge[ name=diy-0.1, url=null, displayName = Do-It-Yourself 0.1, description=The Do-It-Yourself (DIY) application type is a blank slate for trying unsupported languages, frameworks, and middleware on OpenShift. See the community site for examples of bringing your favorite framework to OpenShift. ], scale=NO_SCALE, gearProfile=GearProfile [name=int_general_small], domain=Domain [id=domainequo2, suffix=itos.redhat.com], applicationUrl=http://diy-domainequo2.itos.redhat.com/, gitUrl=ssh://5271107a3b696e75f9000032@diy-domainequo2.itos.redhat.com/~/git/diy.git/, initialGitUrl=null, aliases=[], gearGroups=null]'
!STACK 0
com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:482)
        at com.jcraft.jsch.Session.connect(Session.java:160)
        at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:117)
        at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:88)
        at org.jboss.tools.openshift.express.internal.ui.job.VerifySSHSessionJob.run(VerifySSHSessionJob.java:47)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{code}

Eclipse log 2:
{code}
org.eclipse.jgit.errors.TransportException: ssh://527117bd25535d154a000001@gtr-domainequo2.itos.redhat.com/~/git/gtr.git/: channel is not opened.
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:154)
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:118)
        at org.eclipse.jgit.transport.JschSession.exec(JschSession.java:91)
        at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
        at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
        at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
        at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1105)
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
        at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
        at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:155)
        at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
        at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:257)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:171)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.copyOpenshiftConfigurations(MergeIntoGitSharedProject.java:147)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:101)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:187)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:360)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.jcraft.jsch.JSchException: channel is not opened.
        at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:670)
        at com.jcraft.jsch.Channel.connect(Channel.java:151)
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:150)
        ... 20 more
{code}

  was:
Sometimes cannot create new / publish existing app bcs. of authentication fail.

Issue probably related to JBIDE-15679, unfortunately I don't know how to reproduce this bug (I have noticed it occurs e.g. when I change location from where I am creating / modyfing app = change of IP or turn on/off JBDS/JBT).

Eclipse log 1: 
{code}
Unable to create SSH session for application 'ApplicationResource [uuid=5271107a3b696e75f9000032, name=diy, creationTime=Wed Oct 30 14:58:18 CET 2013, cartridge=StandaloneCartridge[ name=diy-0.1, url=null, displayName = Do-It-Yourself 0.1, description=The Do-It-Yourself (DIY) application type is a blank slate for trying unsupported languages, frameworks, and middleware on OpenShift. See the community site for examples of bringing your favorite framework to OpenShift. ], scale=NO_SCALE, gearProfile=GearProfile [name=int_general_small], domain=Domain [id=domainequo2, suffix=itos.redhat.com], applicationUrl=http://diy-domainequo2.itos.redhat.com/, gitUrl=ssh://5271107a3b696e75f9000032@diy-domainequo2.itos.redhat.com/~/git/diy.git/, initialGitUrl=null, aliases=[], gearGroups=null]'
!STACK 0
com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:482)
        at com.jcraft.jsch.Session.connect(Session.java:160)
        at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:117)
        at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:88)
        at org.jboss.tools.openshift.express.internal.ui.job.VerifySSHSessionJob.run(VerifySSHSessionJob.java:47)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{code}

Eclipse log 2:
{code}
org.eclipse.jgit.errors.TransportException: ssh://527117bd25535d154a000001@gtr-domainequo2.itos.redhat.com/~/git/gtr.git/: channel is not opened.
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:154)
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:118)
        at org.eclipse.jgit.transport.JschSession.exec(JschSession.java:91)
        at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
        at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
        at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
        at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1105)
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
        at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
        at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:155)
        at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
        at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:257)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:171)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.copyOpenshiftConfigurations(MergeIntoGitSharedProject.java:147)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:101)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:187)
        at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:360)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.jcraft.jsch.JSchException: channel is not opened.
        at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:670)
        at com.jcraft.jsch.Channel.connect(Channel.java:151)
        at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:150)
        ... 20 more
{code}


    
> Unable to create SSH session
> ----------------------------
>
>                 Key: JBIDE-15832
>                 URL: https://issues.jboss.org/browse/JBIDE-15832
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 4.1.1.Beta1
>            Reporter: Marián Labuda
>
> Sometimes cannot create new / publish existing / import app bcs. of authentication fail.
> Issue probably related to JBIDE-15679, unfortunately I don't know how to reproduce this bug (I have noticed it occurs e.g. when I change location from where I am creating / modyfing app = change of IP or turn on/off JBDS/JBT).
> Eclipse log 1: 
> {code}
> Unable to create SSH session for application 'ApplicationResource [uuid=5271107a3b696e75f9000032, name=diy, creationTime=Wed Oct 30 14:58:18 CET 2013, cartridge=StandaloneCartridge[ name=diy-0.1, url=null, displayName = Do-It-Yourself 0.1, description=The Do-It-Yourself (DIY) application type is a blank slate for trying unsupported languages, frameworks, and middleware on OpenShift. See the community site for examples of bringing your favorite framework to OpenShift. ], scale=NO_SCALE, gearProfile=GearProfile [name=int_general_small], domain=Domain [id=domainequo2, suffix=itos.redhat.com], applicationUrl=http://diy-domainequo2.itos.redhat.com/, gitUrl=ssh://5271107a3b696e75f9000032@diy-domainequo2.itos.redhat.com/~/git/diy.git/, initialGitUrl=null, aliases=[], gearGroups=null]'
> !STACK 0
> com.jcraft.jsch.JSchException: Auth fail
>         at com.jcraft.jsch.Session.connect(Session.java:482)
>         at com.jcraft.jsch.Session.connect(Session.java:160)
>         at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:117)
>         at org.jboss.tools.openshift.express.internal.ui.utils.OpenShiftSshSessionFactory.createSession(OpenShiftSshSessionFactory.java:88)
>         at org.jboss.tools.openshift.express.internal.ui.job.VerifySSHSessionJob.run(VerifySSHSessionJob.java:47)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
> Eclipse log 2:
> {code}
> org.eclipse.jgit.errors.TransportException: ssh://527117bd25535d154a000001@gtr-domainequo2.itos.redhat.com/~/git/gtr.git/: channel is not opened.
>         at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:154)
>         at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:118)
>         at org.eclipse.jgit.transport.JschSession.exec(JschSession.java:91)
>         at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
>         at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
>         at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
>         at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
>         at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1105)
>         at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
>         at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
>         at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
>         at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:155)
>         at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
>         at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:257)
>         at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:171)
>         at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.copyOpenshiftConfigurations(MergeIntoGitSharedProject.java:147)
>         at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:101)
>         at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:187)
>         at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:360)
>         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: com.jcraft.jsch.JSchException: channel is not opened.
>         at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:670)
>         at com.jcraft.jsch.Channel.connect(Channel.java:151)
>         at org.eclipse.jgit.transport.JschSession$JschProcess.<init>(JschSession.java:150)
>         ... 20 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list