无法在 Eclipse 中导入 openshift 应用程序 [英] Not able to import openshift application in eclipse

查看:38
本文介绍了无法在 Eclipse 中导入 openshift 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 eclipse 连接 openshift.

I am using eclipse to connect with openshift.

以下是我采取的步骤.

  • 注册 openshift
  • 创建了JBOSS Application Server 7"应用程序
  • 下载了 Eclipse Mars
  • 从 eclipse 市场下载了 openshift 工具
  • 从选项中选择导入并选择 openshift
  • 根据提示登录 openshift(使用默认服务器位置)
  • 选择使用我现有的 openshift 应用程序",然后从浏览选项卡中选择我在 openshift & 中创建的应用程序.点击下一步
  • 在下一个窗口中选择创建新项目"并点击下一步"
  • 在克隆设置"中浏览到我想要克隆我的应用程序的位置
  • 在同一选项卡中单击SSH 密钥向导"并创建一个新的 SSH 密钥.
  • 在 SSH2 首选项中检查我的新密钥是否存在.(它存在).
  • 点击完成

它显示从 ssh://

然后显示

Could not clone the repository. Authentication failed.
 Please make sure that you added your private key to the ssh preferences.
ssh://56fdfdad2d5271507d000049@btech-jmi.rhcloud.com/~/git/btech.git/: Connection timed out: connect

我已经将此步骤与其他几个 ecplise 版本一起使用,即 mars、indigo、luna、helio(它们都不起作用).我在所有这些步骤中都使用了上述步骤.

I have used this steps with several other ecplise versions i.e. mars, indigo, luna, helio (none of them worked). I used above steps in all of them.

查看是否在远程服务器上上传了公钥,该服务器检查并发现每次都在服务器上上传公钥.

To see if public keys are uploaded on the remote server that checked and found that the public keys are being uploaded every time on the server.

真的卡在了这一点上.

我也用谷歌搜索了其他方法来做到这一点,但没有一个对我有用,我想我错过了一些东西.

I have also googled for other ways to do this, but none of them are working for me, I think I am missing something.

我记得有时会返回相同的步骤,它可以工作,但这次不起作用.

I remember doing the same steps sometimes back and it worked but not working this time.

请帮忙

推荐答案

我发现,这个问题的原因是由于端口问题.在我的大学中,他们使用了cyberoam,并且阻止了一些端口,这些端口正被 ssh 用来从远程获取数据.我刚刚在家里尝试了相同的步骤,它按预期工作.

I found out that, the reason for this problem was due port issue. In my university they are using cyberoam and they have blocked some ports which were being used by ssh to fetch data from remote. I just tried same steps at home and it is working as expected.

这篇关于无法在 Eclipse 中导入 openshift 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆