So I have been banging my head against the wall for days on this one. When I initially set up Subclipse and first connected to my local SVN repo, everything worked great. Not sure what's changed since then, but now I keep getting errors when trying to access the repo.
In SVN Repository Exploring perspective, if I double-click on my repo I get a popup that says "Problem Occured - Folder " does not exist remotely". In my console, I get this error:
Connection refused
svn: Unable to connect to a repository at URL 'svn://userid#localhost/home/userid/myrepository/java'
svn: Can't connect to host 'localhost': Connection refused
I have:
Eclipse Juno
Ubuntu 12.04
Subversion 1.7.8
I initially started off with Subclipse 1.6 and JavaHL 1.6 but have since upgraded to Subclipse 1.8.3/JavaHL 1.7.8.1 in my efforts to get everything working again.
I even uninstalled Eclipse and reinstalled, re-installed Subclipse and JavaHL, adding the JavaHL path to eclpise.ini... still can't access the repo.
I was accessing the repo locally in subclipse via "svn://userid#localhost/svn/home/userid/myrepository/java". I can access this repo locally from the command line just fine, and I can access this repo from another machine on my network using svn+ssh just fine.
What am I missing?
If the repository is local, you should be using a URL like file:///home/userID/myrepository/java
To use the svn:// protocol you must have svnserve running. The URL would then be something like:
svn://localhost/myrepository/java
When you use the svn+ssh:// protocol, the SSH daemon starts and launches svnserve in --tunnel mode within the SSH session. So it does not need or use a normal svnserve daemon server that may be running.
FWIW, it would probably be a good idea to run svnserve, but that means you will also need to configure it. But I would not use file:// URL using SVNKit. If you use JavaHL exclusively, then it is fine, but I would not let SVNKit write directly to my repository. Even though they do a great job testing and maintaining compatibility it is just easier to run svnserve and let SVNKit talk to it via the protocol.
Related
I'm trying to add an SVN repository to Eclipse.
I've installed Subclipse, and it seems to be working fine. But, when I try to "add a new SVN repository", I input this:
http://svn.alfresco.com/repos/alfresco-open-mirror
and I get this:
Error validating location: "org.apache.subversion.javahl.ClientException: RA layer request failed svn: unable to connect to a repository at url 'svn..'
svn: OPTIONS of 'http://svn.alfresco.com/repos/alfresco-open-mirror': could not connect to server 'alfresco.com' Keep location anyway?
I've checked it in both browsers(on computer and internal eclipse br) - both works
What is the decision?
Did you configure Subclipse to work with your proxy server? I'm asking because you specify this error in the second comment: svn: E170001: HTTP proxy authorization failed.
To make sure that proxy settings are correct, check the servers file on the CLIENT
machine. The file is located in .subversion directory in the user's home directory on Linux systems and in %APPDATA%\Subversion on Windows systems. Configurable options you are interested in are:
http-proxy-exceptions
http-proxy-host
http-proxy-port
http-proxy-username
If you don't have any proxy server but these options are still configured, then remove them. Otherwise, make sure that these settings are valid. See SVNBook | Runtime Configuration Area.
I've installed bugzilla Win32InstallPackages
https://wiki.mozilla.org/Bugzilla:Win32InstallPackages
its pretty easy, just download Bugzilla-Setup-3.4.8.exe file, follow steps and keep pressing Next button. It installs everything (Apache, MySql, Perl, Bugzilla) and works perfect. Just start using bugzilla through this url localhost
Now I want to upgrade this with some stable latest release which is 4.4. I am using Bazaar repository to download at my local PC from here http://bzr.mozilla.org/bugzilla/4.4/
Bazaar explorer creates trunk folder inside C:\Bugzilla\trunk and downloaded all source code inside the trunk directory.
When I've copied all the files from trunk folder and replaced with existing files at C:\Bugzilla\ then it doesn't work.
Now I am getting following error message when I am trying to open bugzilla by writing localhost/ into address bar.
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Could you please help me how to upgrade bugzilla on my local machine ?
There are upgrade instructions that can be followed. Also check your apache logs to find out what the 500 error is really about.
I'm trying to create my own SVN server so I can work on my android projects everywhere.
I have an VPS and I installed svn, I set up the directory and added a use to the password file.
After a while I finally managed to create a project with
svn import -m "initial import" . file:///home/admin/svn/reposvn/testp/trunk
But I don't understand?
Can I only import project that are on my server?
If thats the case I could just use ftp and not worry about svn at all.
What I would like to do is have a url to use in things like eclipse.
my subdomain points to /home/admin/svn/ and then I typed in /reposvn
So I tried the urls
http://(mydomain)/reposvn
and
svn://(mydomain)/reposvn
but neither worked
Says
Detected a cycle while processing the operation
svn: Redirected cycle detected for URL ....
I also set up daemon or whatever with svnserve -d
any ideas? Thanks!
Once I wrote an article about this. I think it will give you enough information about this issue: How to set up SVN version control over SSL with Apache to use in Eclipse.
OK I got it working
One of the thing that took me a while to figure out is that svn:// is for the svnserve daemon
where the http:// access has to be set up through Apache.
I deleted my entire svn and reinstall / re set up everything, so there might have been some sort of messed up configuration.
However I set up the daemon with
svnserve -d --foreground -r /home/admin/svn
and then I was able to connect with svn://
https://help.ubuntu.com/community/Subversion
Thanks
I'm following the instructions for installing Ardor3D as an Eclipse Project Set via Subclipse; instructions at:
http://www.ardor3d.com/wiki/svneclipsetutorial
I installed Subclipse from
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.
However, when I come to checkout the code at:
http://ardorlabs.svn.cvsdude.com/Ardor3Dv1
by selecting New|Other|SVN|Check Projects from SVN I get the following error message:
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)
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.
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
but to be honest not 100% sure as what to change, if anything as I'm not using proxy settings.
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.
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.
You should have a directory similar to : C:\Documents and Settings\UserName\Application Data\Subversion
In that directory there will be a file called servers.
I un-commented and edited the following entries and my subversion is now working fine with 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.
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.
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.
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.
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.
I have a strange problem. I have set up a Mercurial server using the hgweb.cgi script. The script runs in a subfolder on my Apache webserver, and I use Apache basicauth to enforce authentication.
When I try to pull from my server using hg.exe on Windows, command line, it works fine. Also the push, incoming and outgoing commands are working. In Aptana, pushing and pulling also works fine.
Next step for me was to set up Mercurial in Netbeans. I cannot get it to work because I cannot authenticate. Netbeans keeps asking me for the un/pw combination. The attached window keeps popping up. No matter what I do, in the end I have to click the 'Cancel' button and I end up with an error:
Mercurial Pull
--------------
INFO Pulling From: http://user:****#server.nl:8080/hg/kate ...
ERROR Command failed:
Command: [hg, incoming, -v, --bundle, C:\wamp\www\Thorium\Kate_bundle0, --repository, C:\wamp\www\Thorium\Kate, http://user:****#server.nl:8080/hg/kate]
Output: [abort: http authorization required]
INFO: End of Mercurial Pull
Link to the error message
After hours of searching for the solutions... I finally got it to work. For everybody else who experiences this problem: an update of the TortoiseHG mercurial client fixed my problems! Apperently, Netbeans 7.0.1 and TortoiseHG 2.1.2 are not compatible. Updating to TortoiseHG 2.1.4 did the trick.