RA Layer Error error with Subclipse, no errors with web browser

I am using STS 2.8.1 (I think it is based on Eclipse Indigo) with Subclipse 1.6.18.

I try to check the code from the repository, but when I add the repository location, I get the following error:

RA svn layer error: the server sent an unexpected return value (503 Service Unavailable) in response to an OPTIONS request for "http: // abcom: 18080 / svn / myproject"

The fact is that if I try to access this repository from a web browser (for example, Chrome or IE), I can access it. He asks for my username and password, and after entering them I see the project tree.

Does anyone know why I can access from a web browser, but not from STS?

The proxy settings are configured correctly for Subclipse (and I can access other repositories from STS, but not one).

+6
source share
1 answer

This is usually due to the SVN setting ( c:\Documents and Settings\_username_\Application Data\Subversion\servers or ~/.subversion/servers ), which overrides the Eclipse setting.

Or one of these options may have the wrong proxy password.

However, OP Neets reports:

  • I can connect to other repository locations (so the proxy password is correct)
  • I solved this by adding the appropriate exception to the server file, for example:
 http-proxy-exceptions = exception.com 

This corresponds to the description of the openDNS article Configuring Subversion to use a proxy server :

 http-proxy-exceptions 

Specifies a set of repository addresses for which you do not need access to a proxy server. For example, if you have a repository on your local network, you probably won't need a proxy to access it.
This should be a comma-separated list of servers, and you can use an asterisk as a wildcard.
If all the repositories you will need to use a proxy server, you can leave this.

The following is an example configuration that will use a proxy server to access all servers outside 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 
+7
source

Source: https://habr.com/ru/post/906732/


All Articles