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.
Related
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).
I'm trying to connect my Eclipse IDE to my company's sonar server instance, but I can't figure out why it doesn't work.
When I access the server (https://mycompany.com/sonar, for example purposes) through the browser, it works perfectly. In Eclipse, I added the url to the servers section of SonarQube and the same credentials I used in the browser. When I hit Test Connection, I get the error message:
Unable to connect: Query: https://mycompany.com/sonar//api/authentication/validate
I'm using the native option in Eclipse's network settings, since I'm not behind any proxy. The company SonarQube server version is 4.5.5.
Am I doing something wrong? Does anyone know how to fix this?
Edit: the certificate is also added to JRE
I suspect the /api/aut is due to some UI truncation, just expand the 'Add SonarQube Server' window to verify that.
You are trying to connect to an HTTPS URL, is the server certificate trusted by Java ? Use keytool to do that, as explained in this post.
Check the sonar link you have configured in eclipse - https://mycompany.com/sonar**//**api/authentication/validate
You need to give the url https://mycompany.com/sonar and not https://mycompany.com/sonar/
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.
I want to install a subversion on my eclipse.
So I went to Help < Install New Software and when I pick the "Galileo - http://download.eclipse.org/releases/galileo" in the "Work with" dropdown, it tells me in the main box "No repository found at http://...".
It is appearing in my available software sites and when I test the connection it returns me an error saying Unknown host.
Can someone please help me, I really need to install that subversion :).
Anna
As mention in this thread, this could be a proxy issue:
I assume you mean you used a web browser to get that - if so, is it
configured to use a web proxy? If your browser is using a proxy then
you need to configure Eclipse to use one too (see the General/Network
Connections preference page).
Since 3.5 Galileo, The Network Connection page has been changed to better show the current proxy configuration.
Now if you go to Preferences > General > Network Connections, you are able to see and change Eclipse proxy settings as well as see settings provided by the operating system.
If you want to use your browser or Gnome settings, or you have your proxy configured using environmental variables on Linux, you can see them all in this new UI
So to set your proxy, you can follow this tutorial (How to configure Proxy Settings in Eclipse)
The severity of the bug is downgraded, since there is a workaround. Open the eclipse.ini file and add the following
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
In a few words the above command says that Eclipse can access the web via the *.pac files of the HTTP clients (eg Internet Explorer or Firefox).
To summarize:
Add the above line at the ini file
ensure that your default system http client (eg Internet Explorer) has proxy settings configured
Go to Eclipse Window->Preferences->Network Connection and enter the proxy setting here as well
It should work with this workaround
I'm not sure which Subversion client you use but neither of them can be installed from the main Galileo site. Follow the instructions on the web page of the Subversion plug-in how to install it.
Recently I've set up the ClearCase Remote Client (an eclipse plugin) to work through SSL, so instead of an http URL, it follows an https URL.
However, this breaks the access to the Update Site, returning an error that the site has a "Premature End of File" error.
My question(s) are this...
Is there a problem with Eclipse accessing Update Sites that have been reached through a redirect rule?
or
Is there a problem accessing Eclipse Update Sites through a SSL connection?
Any tips or anecdotes would be awesome!
EDIT : The link works via the browser, in terms of a redirect, but not in Eclipse when I attempt to access the same directory via the Update Site tool.
It seems to be a known issue for other plugins as well
What is the "description site" looks like in your eclipse p2 configuration ? Does it include https as in:
<description url="https://<host_name>/<update_site>/">
Project Update Site
</description>
Just do be sure, you did Enable HTTP proxy connection ?
(General->Network Connections)
Although VonC made a really valiant effort, my answer or workaround has been to configure RWP to use SSL for the CCRC Server, and simple Port 80 for the Update Site with a redirect for any users who are still pointing at the old URL.
I am still unsure why it doesn't work in Eclipse with SSL though.