[
https://issues.jboss.org/browse/JBIDE-14304?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-14304:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure you have an OpenShift application that you can import to your
workspace
# ASSERT: make sure you're using a proxy (that does not allow git/ssh). ex. use
OpenShift STG via RH proxy
# EXEC: launch import wizard and import your application to your workspace.
Result:
Clonging fails: "ProxyHTTP: java.io.IOException: proxy error: Forbidden"
!import-failed-git-clone.png!
In the Eclipse log you spot the following:
{code}
ProxyHTTP: java.io.IOException: proxy error: Forbidden
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
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:127)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1069)
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:153)
at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:258)
at
org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:96)
at
org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.ImportNewProject.execute(ImportNewProject.java:78)
at
org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftExpressApplicationWizardModel.importProject(OpenShiftExpressApplicationWizardModel.java:91)
at
org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftExpressApplicationWizard$ImportJob.runInWorkspace(OpenShiftExpressApplicationWizard.java:341)
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: ProxyHTTP: java.io.IOException: proxy error:
Forbidden
at com.jcraft.jsch.ProxyHTTP.connect(ProxyHTTP.java:158)
at com.jcraft.jsch.Session.connect(Session.java:208)
at
org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
... 17 more
Caused by: java.io.IOException: proxy error: Forbidden
at com.jcraft.jsch.ProxyHTTP.connect(ProxyHTTP.java:122)
... 19 more
{code}
was:
# ASSERT: make sure you have an OpenShift application that you can import to your
workspace
# ASSERT: make sure you're using a proxy (that does not allow git/ssh). ex. use
OpenShift STG via RH proxy
# EXEC: launch import wizard and import your application to your workspace.
Result:
Clonging fails: "ProxyHTTP: java.io.IOException: proxy error: Forbidden"
!import-failed-git-clone.png!
Cannot clone OpenShift application when behind a proxy
------------------------------------------------------
Key: JBIDE-14304
URL:
https://issues.jboss.org/browse/JBIDE-14304
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.1.0.Alpha1
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.1.x
Attachments: bypass-proxy.png, import-failed-git-clone.png
--
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