gpt4 book ai didi

eclipse - Subclipse 出现 "RA layer request failed"错误,Web 浏览器没有错误

转载 作者:行者123 更新时间:2023-12-02 10:04:10 24 4
gpt4 key购买 nike

我正在使用 STS 2.8.1(我认为它基于 Eclipse Indigo)和 Subclipse 1.6.18。

我试图从存储库中检查一些代码,但是当我添加存储库位置时,出现以下错误:

RA layer request failed
svn: Server sent unexpected return value (503 Service Unavailable) in response to OPTIONS request for 'http://a.b.com:18080/svn/myproject'

问题是,如果我尝试从网络浏览器(例如 Chrome 或 IE)访问该存储库,我就可以访问它。它要求我输入用户名和密码,输入后,我可以看到项目树。

有谁知道为什么我可以从网络浏览器访问但不能从STS访问?

Subclipse 的代理设置已正确配置(我可以从 STS 访问其他存储库,但不能访问那个存储库)。

最佳答案

这通常是由于 SVN 设置(c:\Documents and Settings\_username_\Application Data\Subversion\servers~/.subversion/servers)覆盖所致Eclipse 设置。

或者这些设置之一可能有错误的代理密码。

但是,OP Neets报告:

  • I'm able to connect to other repository locations (so the proxy password is correct)
  • I solved it, adding the corresponding exception in the servers file, like this:
http-proxy-exceptions = exception.com

这符合 openDNS 文章 Configuring Subversion to Use a Proxy Server 的描述:

http-proxy-exceptions

This specifies a set of repository addresses for which you don't need to access a proxy server. For example, if you have a repository on your local LAN, then you probably won't need a proxy to access it.
This should be a comma-delimited list of servers, and you can use an asterisk as a wildcard.
If all of the repositories that you will access require you to use a proxy server, then you can leave this out.

The following shows a sample configuration that will use a proxy server to access all servers outside of the example.com domain:

[global]
http-proxy-exceptions = *.example.com
http-proxy-host = proxy.example.com
http-proxy-port = 8080
http-proxy-username = myuserid
http-proxy-password = mypassword

关于eclipse - Subclipse 出现 "RA layer request failed"错误,Web 浏览器没有错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8983845/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com