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

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

问题描述



以下是我采取的步骤。




  • 在openshift注册

  • 创建了一个JBOSS应用服务器7应用程序

  • 下载Eclipse Mars

  • 从eclipse市场下载openshift工具

  • 从选择导入的选项中选择openshift

  • 从提示符中打开(默认服务器位置)

  • 选择使用我现有的opensshift应用程序,并从浏览选项卡中选择我在openshift&点击下一步

  • 在下一个窗口中选择创建新项目,并在克隆设置中单击下一步

  • 浏览到我想在同一个选项卡中单击SSH密钥向导来克隆我的应用程序

  • ,并创建了一个新的SSH密钥。

  • 在SSH2首选项中检查我的新密钥存在或不存在(已存在)。

  • 点击完成



它从 ssh://< url>



显示克隆,然后显示

 无法克隆资源库。验证失败。 
请确保您将私钥添加到ssh首选项。
ssh://56fdfdad2d5271507d000049@btech-jmi.rhcloud.com/~/git/btech.git/:连接超时:连接

我已经使用这些步骤与其他几个版本,如mars,indigo,luna,helio(没有一个工作)。
我使用上述步骤。



要查看是否在远程服务器上上传公钥,检查并发现公钥正在上传每次在服务器上。



此时真的卡住了。



我还用其他方法这样做,但是他们都没有为我工作,我想我缺少一些东西。



我记得有时候还会采取相同的步骤,但是这个时间没有工作



请帮助

解决方案

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


I am using eclipse to connect with openshift.

Below are the steps that I have taken.

  • sign up in openshift
  • created a "JBOSS Application Server 7" application
  • downloaded Eclipse Mars
  • downloaded openshift tools from the eclipse marketplace
  • from options selected import and choose openshift
  • sign in to openshift from the prompt(with default server location)
  • choose "Use my existing openshift application" and from the browse tab selected that application which I created in openshift & clicked next
  • selected "create a new project" in the next window and clicked "Next"
  • in "Cloning setting" browse to the location where I want to clone my application
  • in the same tab clicked on "SSH Keys wizards" and created a new SSH key.
  • in SSH2 preferences checked that my new key is present or not.(it was present).
  • clicked finish

it displays cloning from ssh://<url>

and then displayed

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

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.

Really stuck at this point.

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.

Please help

解决方案

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天全站免登陆