问题
I'm trying to svn checkout this library https://code.google.com/p/google-api-objectivec-client/source/checkout but my svn doesn't connect from a particular macbook, same internet connection but different macbook it is able to checkout successfully
I get: svn: E175002: Unable to connect to a repository at URL 'http://google-api-objectivec-client.googlecode.com/svn' svn: E175002: OPTIONS of 'http://google-api-objectivec-client.googlecode.com/svn': Could not read status line: connection was closed by server (http://google-api-objectivec-client.googlecode.com)
What setting could be different on a macbook that can cause this ? Both computers have same OSX, Xcode and svn versions.
It doesn't connect to other repositories either that are hosted on code.google.com
回答1:
I had the same problem, I also had cisco anyconnect, but my solution was to change the URL to https and it seemed to work.
That is I edited
http://google-api-objectivec-client.googlecode.com/svn
to
https://google-api-objectivec-client.googlecode.com/svn
in the script file
回答2:
The culprit was Cisco AnyConnect, I uninstalled it and svn works
回答3:
I removed all the previous auth ssl server by the command:
rm ~/.subversion/auth/svn.ssl.server/*
and all worked again.
回答4:
I had the same problem but the solution was different for me. I had upgraded to a new Netbeans (version 8) and had selected two different directories. None of the other answers here were relevant and I was already using https so I entered my auth info (although it's not required for c/o here) and just chose 1 directory root at a time.
回答5:
I had the same problem, had to uninstall Cisco AnyConnect and it works. But if you need both then uninstall Cisco VPN and re-install it without the "Web Security" component.
Running both Syncro and Cisco AnyConnect.
回答6:
Steps what I did to solve the problem:
- I turned off my internet connection
- I cleared my DNS cache by running the command on my mac
dscacheutil -flushcache
- And then tried
svn update
and it worked this time
回答7:
I disconnected my internet connection and re-connected it again. This resolved the problem. After this, I repeated the process of importing the project from SVN & was able to do it successfully.
回答8:
When I used homebrew to install, I had this problem too.
I changed the formula URL from https
to http
and it worked.
The path in my book is /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/
来源:https://stackoverflow.com/questions/21033706/svn-e175002-unable-to-connect-to-a-repository-at-url