I'm trying to create a new project in svn using subclipse from STS/Eclipse. It works fine with existing projects, this is just a project for experimentation. When I try to check in the new project, I get this error message
mkdir --parents -m "Initial import." https://utilities.mycompany.com/svn/repo/springMvcTest
URL access forbidden for unknown reason
svn: access to '/svn/repo/!svn/ver/10618/' forbidden
Filesystem has no item
svn: URL 'https://utilities.mycompany.com/svn/repo/test' non-existent in that revision
Any idea how to fix this?
It would seemingly be a problem on the server. I can only guess based on the info available but it is possible the server Apache process that the Subversion server runs in does not have write access to the repository location on the native filesystem of the server.
Related
I used to be able to fetch projects from Github using SVN externals:
svn:externals > https://github.com/J7mbo/twitter-api-php/tree/develop twitter-api-php
Github had previously announced support for SVN, and this blog posts details the use of Github projects via SVN externals.
This worked just fine previously, but I've noticed recently (the past couple of weeks?) that I can no longer fetch any project from Github: I get a Unable to connect to a repository at URL *** error. Other externals seem to be working as normal. I can't find any documentation that suggests they've dropped or changed this feature. Does anyone know why this is no longer working, or if they've dropped support?
UPDATE:
Running
svn ls https://github.com/J7mbo/twitter-api-php/branches/develop
returns the following error:
svn: E175002: OPTIONS of 'https://github.com/J7mbo/twitter-api-php/branches/develop': SSL handshake failed: SSL error: tlsv1 alert protocol version (https://github.com)
I'm guessing that's where my problem lies: my openssl version is LibreSSl 2.27, but I can't establish which version of TLS it uses, and in any instance I'm struggling to update openssl.
The svn:externals property is evaluated by your local SVN-Client, not by Github. Therefore as long as Github support the SVN-bridge, svn:externals will work.
But your URL seems to be wrong:
> svn ls https://github.com/J7mbo/twitter-api-php/tree/develop
svn: warning: W160013: URL 'https://github.com/J7mbo/twitter-api-php/tree/develop' non-existent in revision 137
svn: E200009: Could not list all targets because some targets don't exist
This URL seems to work:
> svn ls https://github.com/J7mbo/twitter-api-php/branches/develop
.gitignore
.travis.yml
LICENSE.md
README.md
TwitterAPIExchange.php
composer.json
index.php
phpunit.xml
test/
I am trying to connect to a repository location using subeclipse. But every time, I try to connect to the location I get the following error :-
svn: E175002: Permission denied: connect
svn: E175002: OPTIONS request failed on '/{repository_location}/'
I have also tried using subversive but that does not seem to work out as well.
Note: The repository is at a remote server to which I am connected via VPN. I am able to browse through the repository using the browser and using the same username and password
that I am using with subeclipse. I am also able to check in and check out the code by using tortoise SVN client. The issue that I am facing is only from within eclipse (i.e. using subeclipse)
Was working under the same conditions (VPN to a office network) when I experienced the same problem. Even though I could browse the repo in the browser, svn plugin gave me 'svn: E175002: Permission denied'. Also had no problems without VPN.
adding
-Djava.net.preferIPv4Stack=true
to eclipse.ini worked for me
Im having some difficulties connecting my project in eclipse with my remote repo with EGit.
I have already created a local git repo and now I want to connect it to github, but when I add the URI and use a https protocol I get:
"Internal error; consult Eclipse error log."
And I get this message in the Eclipse error log:
Error validating org.eclipse.egit.ui.internal.components.RepositorySelectionPage
How can I fix this?
What I do is that I go to remotes, right click it and select "Create remote...".
I then change the URI, and I add "https://github.com/Lumberfella/angularApp.git" to the URI input box, and the Host and Repository path auto fills themselves to:
Host: github.com
Repository path: /Lumberfella/angularApp.git
and In the connection section I have https as the Protocol.
When I do this, its already giving me an error at the top of the "Select URI" window saying: "internal error; consult Eclipse error log." which is what I posted above.
Im using EGit version 3.3.1
I tried out you repository, and it seemed that repository is empty. I am not entirely sure about this answer, but I believe, you cannot use the read-only http urls on empty repositories (e.g. they have no branches to pull).
This theory is further supported by the exception trace I have found in the Error log view:
Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: test
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:127)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:100)
... 64 more
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: test: not found.
at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:131)
at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:106)
at org.eclipse.jgit.transport.Transport.open(Transport.java:556)
at org.eclipse.jgit.transport.Transport.open(Transport.java:316)
at org.eclipse.jgit.transport.Transport.open(Transport.java:287)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120)
... 66 more
Basically, the trace says, it cannot get contents from the remote repository.
I was not able to make it work by adding a remote repository by adding the https or ssh inside eclipse in remotes.
But since I was able to make a working local repository, I figured all I needed to do was download the Git Shell and add a new remote repository that way.
For some reason this totally worked and it also automaticly connected the remote repository to eclipse, so Im now able to push directly from eclipse to both the local and the remote repository (or which ever I would like to).
I am not sure how to share a project in Apache Subversion (SVN).
I created an SVN repository named testsvn on Ubuntu linux.
I am running Eclipse IDE on another Windows system where I have installed Subclipse and
I want to share Eclipse project with the Subversion.
E.g. Team | Share project | SVN | Create a new repository
Then I give the url as http://192.168.10.1/testsvn but I get an error as
svn: E175002: connection refused by the server
svn: E175002: OPTIONS request failed on '/testsvn'
Can anyone help me how to fix the problem..
Thank you
We encountered the same error from our SVN server when running an ANT script to perform an automated checkout. My initial thought was that anonymous reads were disallowed but that didn't make sense considering our configuration. Here was our console output:
[svn] svn: E175002: connection refused by the server
[svn] svn: E175002: OPTIONS request failed on '/svn/branch_201212131157_3.1.6'
[svn] Connection refused: connect
[svn] <Checkout> failed.
It turned out the host URL our ANT client was attempting to connect on was https:// when we weren't offering SSL on the SVN server. This was an internal server but providing the full domain name with the host was also added to the URL. Although, the relative hostname (name of the machine) alone should have been sufficient.
You should add your svn repository URL in New > SVN Repository but not create a new one in Team > Share Project (apparently, you cannot create it remotely). See step by step instructions here.
My problem is very similar to: svn: MKACTIVITY 403 Forbidden
My error message is as follows (the spacing is awkward, but that's how it looks in Eclipse):
svn: Commit failed (details follow):
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svnroot/...': 403 Forbidden (https://repository.url)
My Software:
Linux OS with KDE user interface,
SpringSource Tool Suite version 2.9.1,
Subclipse version 1.6.10
What I've tried:
Close Eclipse. Delete the .keyring file in the Eclipse's 'configuration/org.eclipse.core.runtime' directory (to reset any stored credentials).
Modifying '/home/[user_name]/.subversion/servers' to have the password stored.
It turns out that OnResolve (from the comments on the original post) was correct. I spoke to the owner of /svnroot/ and I needed to register an account before being able to commit.
I resolved this, the issue is with old credentials which are stored in the below foldes \Users\AppData\Roaming\Subversion\auth\svn.simple
Just took back up of files from this folder and delete all and try committing again, SVN or Subclipse will prompt username and password and provide it and done, it will commit.