Subclipse 和 Eclipse - RA 层请求失败

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10353198/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:01:22  来源:igfitidea点击:

Subclipse and Eclipse - RA layer request failed

eclipsesubclipse

提问by Graham Seed

I'm following the instructions for installing Ardor3D as an Eclipse Project Set via Subclipse; instructions at:

我正在按照通过 Subclipse 将 Ardor3D 安装为 Eclipse 项目集的说明进行操作;说明在:

http://www.ardor3d.com/wiki/svneclipsetutorial

http://www.ardor3d.com/wiki/svneclipsetutorial

I installed Subclipse from

我安装了 Subclipse

http://subclipse.tigris.org/

http://subclipse.tigris.org/

and installed fine. If I go to Eclipse's Preferences and Team|SVN I can see that the SVN Interface Client is JavaHL, and hence installed fine.

并安装得很好。如果我转到 Eclipse 的 Preferences 和 Team|SVN,我可以看到 SVN Interface Client 是 JavaHL,因此安装得很好。

However, when I come to checkout the code at:

但是,当我在以下位置签出代码时:

http://ardorlabs.svn.cvsdude.com/Ardor3Dv1

http://ardorlabs.svn.cvsdude.com/Ardor3Dv1

by selecting New|Other|SVN|Check Projects from SVN I get the following error message:

通过选择 New|Other|SVN|Check Projects from SVN 我收到以下错误消息:

RA layer request failed svn: Unable to connect to a repository at URL 'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1' svn: OPTIONS of 'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1': could not connect to server (http://ardorlabs.svn.cvsdude.com)

RA 层请求失败 svn:无法连接到 URL 'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1' svn 的存储库:'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1'的选项:可以无法连接到服务器 (http://ardorlabs.svn.cvsdude.com)

I know the URL is valid as I can install the above fine on my work m/c of WinXP. However, the same installation on my personal laptop of Win7 fails to connect.

我知道 URL 是有效的,因为我可以在我的 WinXP 工作 m/c 上安装上述内容。但是,在我的 Win7 个人笔记本电脑上的相同安装无法连接。

I tried temporarily disabling the firewall and it still fails.

我尝试暂时禁用防火墙,但仍然失败。

I've tried playing around with the config and server files in:

我试过在以下位置使用配置和服务器文件:

C:\Documents and Settings\Administrator\Application Data\Subversion

C:\Documents and Settings\Administrator\Application Data\Subversion

but to be honest not 100% sure as what to change, if anything as I'm not using proxy settings.

但老实说,不能 100% 确定要更改什么,如果有的话,因为我没有使用代理设置。

If there's an expert out there who's knows the solution to this problem I would greatly appreciate hearing from you.

如果有专家知道解决此问题的方法,我将非常感谢您的来信。

Thanks

谢谢

Graham

格雷厄姆

PS. I find the error message "RA layer request failed" confusing as the URL is valid.

附注。我发现错误消息“RA 层请求失败”令人困惑,因为 URL 有效。

回答by JohnB

I had exactly the same problem, which turned out to be caused by a proxy server. The solution to my problem was to configure subversion to work with the proxy server, however it was not obvious how to do this.

我遇到了完全相同的问题,结果证明是由代理服务器引起的。我的问题的解决方案是配置 subversion 以与代理服务器一起工作,但是如何做到这一点并不明显。

You should have a directory similar to : C:\Documents and Settings\UserName\Application Data\Subversion

您应该有一个类似于以下内容的目录: C:\Documents and Settings\UserName\Application Data\Subversion

In that directory there will be a file called servers.

在该目录中会有一个名为servers.

I un-commented and edited the following entries and my subversion is now working fine with Eclipse:

我取消注释并编辑了以下条目,我的 subversion 现在可以在 Eclipse 中正常工作:

http-proxy-host
http-proxy-port
http-proxy-username
http-proxy-password

Why exactly you can't configure this through Eclipse is abit of a mystery, but there you go.

为什么你不能通过 Eclipse 配置它有点神秘,但是你去了。

回答by Thomas Kluge

Another user account could login, I got the error as described above. The difference was the Proxy setting which was missing in my account. It is stored per user in the Registry and I could easily change this in the Tortoise SVN config.

另一个用户帐户可以登录,我收到了如上所述的错误。不同之处在于我的帐户中缺少代理设置。它按用户存储在注册表中,我可以在 Tortoise SVN 配置中轻松更改它。

回答by dan

We encountered this error with our server. While we were able to successfully access the CollabNet 5 SVN admin console, navigating to the repository to browse it from the admin console would fail. We also were not able to connect from Subclipse clients.

我们的服务器遇到了这个错误。虽然我们能够成功访问 CollabNet 5 SVN 管理控制台,但导航到存储库以从管理控制台浏览它会失败。我们也无法从 Subclipse 客户端进行连接。

The problem turned out we were not hitting the correct port on the server. We had reconfigured the default port from 80 to 4343 and the admin console reported the changed setting but the server was still running on 80.

问题是我们没有访问服务器上的正确端口。我们已将默认端口从 80 重新配置为 4343,管理控制台报告更改的设置,但服务器仍在 80 上运行。

For what it's worth, in order for the configuration change to stick, we had to bring the repo server down and make the change in the admin console and then restart the machine. We were then able to browse the repo from the link in the admin console.

值得一提的是,为了使配置更改保持不变,我们必须关闭 repo 服务器并在管理控制台中进行更改,然后重新启动机器。然后我们可以从管理控制台中的链接浏览存储库。