10
votes

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

8
Do you solved your problem?! i have same :/Dr.jacky
@Mr.Hyde scroll down and read my answer2cupsOfTech
So that's not work for me :/. Now i'm using this brilliant downloadsvn.codeplex.com/releases/view/54881Dr.jacky

8 Answers

22
votes

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

16
votes

The culprit was Cisco AnyConnect, I uninstalled it and svn works

2
votes

I removed all the previous auth ssl server by the command:

rm ~/.subversion/auth/svn.ssl.server/*

and all worked again.

1
votes

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.

0
votes

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.

0
votes

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
0
votes

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.

0
votes

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/