Eclipse + Subversive : Can't create session - eclipse

I've been using subversive pluguin quite a while and I didn't have a problem, but today I changed to a cellular network on windows 10 and I started getting this error while trying to commit :
Can't create session
svn: Commit failed (details follow):
svn: Unable to connect to a repository at URL 'http://XXXXXX'
RA layer request failed
svn: Unexpected HTTP status 400 'Bad Request' on 'http://XXXXX'
I found that I need to add a proxy details in the file servers of subversive but I don't know what to add since it's a cellular network.

Maybe your ISP manipulates HTTP requests.
If possible, switch the SVN protocol/URL from http://... to https://... or svn://...?

The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
uncomment the following line:
#http-proxy-host=proxy.ip
#http-proxy-port=portnumber
#http-proxy-username=[username]
#http-proxy-password=[password]

Related

svn: E175002 Unexpected HTTP status 405 when user name had change

I'm using eclipse mars.2 and subclipse 3. The configuration from svn is ok. I was working with a false user in Windows, e.g "Fran" and now that is correct, "Frank", I'm not allowed to acces to this svn.
I had deleted everything in the Folder AppData/Roaming/Subversion/auth.
in cmd I have: svn list https://mysubversion
ask me for the certificate and than p (accept)
I have the first error "svn: E120108: Unable to connect to a repository at URL"
when I try once again my list command, I get the
"svn: E175002: Unexpected HTTP Status 405 'Method Not Allowed' on"
"svn: E175002: PROPFIND request on "" failed: 405 Method not allowed"
I had readed in the Forum but everybody had Connection to the server, I don't. I can see my repository in the browser but that's all.
The normal way to set a new user name for your SVN repository is following:
Open the SVN Repository Exploring Perspective
Rightclick on the repository and choose Location Properties..
Check beneath Authentication the textbox User
If that doesn't help, you probaby saved your credentials in the Secure Storage..
To clear the storage:
Go to: Preferences -> General -> Security -> Secure Storage
Choose the Contents tab
Search for SVN
Press Delete

Nuget push fails with 417 (Expectation Failed) from remote server

When I run a "nuget push" command from the command line, the upload fails and nuget dies with the following error:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 417 (Expectation Failed).
Nuget's documentation doesn't give any indication what this could mean.
What's the issue here?
This blog post suggests it's an issue with an intermediate proxy server interfering with the PUT request that nuget.exe is attempting.
Http status 417 is caused when your proxy server does not support 100-continue. As a result, the client request does not get a response from the server indicating the client should POST data.
Check your system proxy settings and verify that either the proxy being used supports 100-continue, or that the proxy is bypassed for the servers Nuget is connecting to.
Nuget itself can be configured with proxy settings that will override the system settings. See the Nuget configuration documentation, specifically regarding proxies.

Get Error while cloning for BitBucket repeatedly

For SourceTree or Eclipse, I was unable to clone the repositories. Every time I try to clone that, I get the message:
fatal: The remote end hung up unexpectedly
error: RPC failed; result=22, HTTP code = 504
Any clue what is causing this? THANKS
You can find a similar issue in this thread:
The HTTP error 504 is related to a Gateway Timeout, what means your request couldn’t be completed.
When attempting to clone your Git repository over HTTP, it probably means that there's a size issue. Git is not designed to perform well over HTTP with repositories larger than about 1 GB.
Over HTTP, Git has to be served using FastCGI and so the FastCGI process can sometimes time out before the command can return results
You have some workaround (for push in Stash, but applicable to git clone in general) in "error: RPC failed result=22 - Push to Stash fails"
You can diagnose the root cause with more information displayed when you set:
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
http.postBuffer might be an issue, as in "Git fetch github: Index-pack failed".

"RA layer request failed" error with Subclipse, no errors with web browser

I'm using STS 2.8.1 (I think it's based on Eclipse Indigo) with Subclipse 1.6.18.
I'm trying to check some code out from a repository, but when I add the repository location, I get the following error:
RA layer request failed
svn: Server sent unexpected return value (503 Service Unavailable) in response to OPTIONS request for 'http://a.b.com:18080/svn/myproject'
The thing is, if I try to access that repository from a web browser (e.g. Chrome or IE), I'm allowed to access it. It asks for my username and password, and after I enter them, I can see the project tree.
Does anyone know why I can access from the web browser but not from STS?
The proxy settings are configured correctly for Subclipse (and I can access other repositories from STS, but not that one).
This is usually due to an SVN setting (c:\Documents and Settings\_username_\Application Data\Subversion\servers or ~/.subversion/servers) overriding an Eclipse setting.
Or one of those settings could have the wrong password for the proxy.
However, the OP Neets reports:
I'm able to connect to other repository locations (so the proxy password is correct)
I solved it, adding the corresponding exception in the servers file, like this:
http-proxy-exceptions = exception.com
That is compliant with what describes the openDNS article Configuring Subversion to Use a Proxy Server:
http-proxy-exceptions
This specifies a set of repository addresses for which you don't need to access a proxy server. For example, if you have a repository on your local LAN, then you probably won't need a proxy to access it.
This should be a comma-delimited list of servers, and you can use an asterisk as a wildcard.
If all of the repositories that you will access require you to use a proxy server, then you can leave this out.
The following shows a sample configuration that will use a proxy server to access all servers outside of the example.com domain:
[global]
http-proxy-exceptions = *.example.com
http-proxy-host = proxy.example.com
http-proxy-port = 8080
http-proxy-username = myuserid
http-proxy-password = mypassword

Eclipse CVS repository explorer

when I want to start CVS repository explorer, it cannot connect to the server.
I entered something like "a.b.com" as "host" and "/c/d" as repository path. I entered my username and password and "module" name correctly. Does anybody know what the problem is?
Thank you so much.
shadi :)
It depends on:
the version of Eclipse
the way it fails (right at the beginning or after some time like bug 229982 )
what Windows/Show Views/Error log displays (is there an error message or an exception of some kind associated with the failed connection
external factors like a new anti-virus or firewall which would block some ports previously unblocked.
For instance, do you see this kind of error message as in this thread?
Errors saving CVS synchronization information to disk.
Please fix the problems listed below and then
update the affected resources from the CVS repository.
Could not get input stream
Could not get input stream
Operation failed. File system input or output error
As the OP Shadi says in the comments, it was a protocol issue:
I should have used "extssh" instead of "pserver".
which is compliant with:
this ticket: "'extssh' is a valid protocol in CVS nowadays.",
and the way eclipse uses CVS.