SSL handshake failed remote host closed connection during handshake in Eclipse - eclipse

I am trying to create a repository in Eclipse. The code that I need is hosted in a VisualSVN server. I am trying to use its trunk URL as the repository location, but when I try to connect to the URL through Eclipse's SVN plug-in, it fails with error SSL handshake failed.
I am using a proxy server.
I have seen solutions mentioning modifying the settings like so:
-Dhttps.protocols=TLSv1.1,TLSv1.2
Source: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake during web service communicaiton

I figured out my issue. I had to open my network connection settings in Eclipse and change the 'Active Provider' to manual instead of native. I had to do this because my visual svn server was not allowing me to connect to it through a proxy server, and native was using the proxy.
(also, I checked this at the get-go but it was not showing my proxy server for some reason in eclipse's network connection dialog box)

Update SVN plug-in that you use in Eclipse. It seems that it is very outdated.
Try setting the TLS/SSL compatibility level to Legacy in VisualSVN Server's settings.

Related

SVN plugin issue in eclipse

I have installed SVN plugin to my eclipse by 'Help->Install new software'. Used the URL - http://subclipse.tigris.org/update_1.6.x.
After installation, I tried connect my SVN URL(http://svnserver.com/svn) which worked others machine in tortaise svn. It got prompted with credentials, then it ended up with below error message in eclipse.
RA layer request failed
svn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for 'http://svnserver.com/svn'
Note : I have connected client network in citrix (Cisco anyclient) after disabling the proxy in my machine.
Eclipse platform is v3.6.3
You should make sure that the SVN plug-in installed in Eclipse is up to date and that the entered URL is correct. Generally speaking, the error 500 Internal Server Error indicates a problem with the server. However, invalid repository URL might also produce such error in certain cases.
I have resolved my issue by adding host under proxy bypass in Window->preference->General->Network connections(Active provider = Manual).

Eclipse unable to connect to internet when using a VPN

Eclipse is unable to connect to the internet when I am using a VPN.
The VPN I am using is: https://www.privateinternetaccess.com/
I have no issues when I try browsing the web using the VPN.
If I try to do something like access the Eclipse Marketplace I get an error saying connection fails and it suggests I should check my internet connection and retry.
I have tried restarting eclipse many times. I have tried changing my network connection preferences in eclipse (Direct, Manual, Native).
I don't really understand why connecting to a VPN should have any effect on eclipse.
Maybe, you have not set proxy (and login credentials) in the eclipse.

Unable to access a repository with Eclipse SVN plugin

I have a problem to access the following SVN repository http://primefaces.googlecode.com/svn/ using Eclipse and Subclipse or Subversive plugins and JavaHL or SVNKit.
I have this problem only with Eclipse on the computer in my office. With Firefox it works fine and at home it works fine, even with Eclipse.
The error is
Get revision properties operation failed.
RA layer request failed
svn: Server sent unexpected return value (400 ) in response to PROPFIND request for '/svn'
It's likely a firewall issue and a question of user-agent.
I've already asked to the network administrator to check the firewall configuration and he will probably manage to solve it but I'd like to know if there are any other solutions ? For instance, "hacking" the default Eclipse SVN client user-agent, or anything else?
Any idea?
HTTP uses port 80, and I doubt your office is blocking port 80. Does this URL work in a web browser from your office? If it does, see if there's a proxy setting for http.
You might be able to set it up in the $HOME/.subversion/server file. Look under the [global] section and look for the proxy configurations listed there.

eclipse ide svn network connection using tor

I am working on a project where we use a remote subversion server. The server uses the port 9090. I can access the server from my home PC. However, when I am in school, I don't have access probably due to the firewall used in here. So, I used a proxy server "Tor" and I managed to successfully connect to the server from the Tor browser.
Now Problem is how can I configure Eclipse to connect to the SVN server through the Tor proxy.
Thanks for your help.
You need http proxy for eclipse try FreeGate proxy (with wine if the operating system is Linux)

Subversion Connection: RA layer request failed

Out of the blue yesterday afternoon, subversion connections from my Eclipse IDE to our Subversion repository have been failing (with both Subversive and Subclipse).
I can browse the subversion directory via the browser and it only connections via Eclipse that are failing (I am using a MacBook Prod Mountain Lion OSX 10.8.1; latest Java from Apple 1.6.0)
Message receive when attempting subversion connection:
"RA layer request failed
svn: OPTIONS of 'http://example.com/tags/project': Could not read status line: Connection reset by peer (http://example.com)"
Are you trying to browse the repository, or do you have an existing working copy you are trying to update? I think you are probably not entering a proper SVN repository URL. Just because the browser is working, does not mean that is the right URL for the client. It might be. It depends whether you are browsing the repository directly or using a web GUI.
The problem could also be related to a proxy server. If you need a proxy server, odds are that your web browser is already configured to use it. However, SVN clients have their own configuration for proxies that has to be configured separately.