Permission denied while connecting to the repository using subeclipse - eclipse

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

Related

VSCode Issues with Live Server and git

Just installed VSCode a couple of days ago and wasn't able to PUSH or PULL to GitHub with git. Or on any terminal, I've tried disabling my firewall and it does not seem to help the problem.
Whenever I try to pull or push I get this error.
fatal: unable to access 'link': getaddrinfo() thread failed to start
Also could use some help with Live Server whenever it starts I don't get any errors other than my browser saying
The webpage at http://127.0.0.1:5500/ might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID
I have tried to change settings of VSCode to use local IP as host and it still does not work.
So I use a program called Aster to do multiple PC's on one computer at once and once I disable that I was able to get Git and Live to work.

svn URL access forbidden for unknown reason

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.

Problems with egit connecting to a git repository on a godaddy shared account

Our shared server account at godaddy comes preinstalled with git version 1.7.1. I've set up a bare repository following this strategy,
http://git-scm.com/book/en/Git-on-the-Server-Getting-Git-on-a-Server
When I attempt to push via ssh in egit in eclipse I get this error,
Can't connect to any URI: ssh://url:22/git-test/test.git
(ssh://url:22/git-test/test.git: connection failed)
And yet using the same authentication in Putty I have no problem.
What I eventually want to do is to set up a git repository on the godaddy account that will permit development of the website from a few remote locations and then permit a push to production-live.
There is no git-daemon available, but apparently it isn't needed according to the above link.
This could be a problem with server configuration or remote setup on the egit side.
Make sure you are suing the full path of your repo
git remote set-url origin ssh://username#domain.com/home/username/path/git-test/test.git
(with test.git being a bare repo, with a post-receive hook to update the live site)
Try it from the command line first (no need for putty), then change your remote url on Eclipse/EGit.
You don't need to specify the port number (22 being the default one for ssh).
For me the problem was firewall by the VPN i used. By disabling the VPN Eclipse could push.

Egit error connecting to remote repo

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).

share a project to svn

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.