views:

2359

answers:

4

I'm trying to use the built-in Subversion server on OS X per Apple's instruction I'm trying to use SVN through SSH and not apache

It's not working out though. When I try to configure the repository, I get the following error:

Error: 210002 (Network connection closed unexpectedly) Description: Connection closed unexpectedly

As a sanity check, I tried doing an "svn list" from the command line, and it worked. And, I'm using the same URL structure as on the configuration screen. From the command line, it works!

Any suggestions on how to further troubleshoot this issue?

A: 

I had the same error, but what happened was I rebuilt a server and the file called "known_hosts" had the old server setup of that same machine in my user account, in "~/.ssh", I trashed the known_hosts file and went to terminal, and re-ssh-ed. After that everything worked as normal.

Hope that helps,

Laters...

A: 

I had the same problem after I needed to delete and recreate my login keychain. Once I added the password again for one svn repository in the XCode Repositories Configure panel (which shows the XCode Preferences Repositories panel), clicked Always Allow for the keychain access prompt, and then clicked Apply in the XCode Repositories Configure panel where I added the password, then SVN access for all my projects worked again.

Sorry for bumping an old thread, but I hope this helps someone who has the "Error: 210002 (Network connection closed unexpectedly) Description: (null)" problem when trying to use SVN for an XCode project.

I'm using XCode 3.2.1 (64-bit).

Best regards,

Piesia

Piesia
A: 

This is an easy-to-miss point about configuring XCode and Subversion/SCM running on the same computer. For it to work, you must go into Settings->Sharing and enable "Remote Login" by checking the checkbox.

sss
A: 

Thank you sss. I'm new to Mac have tried everything else I've found. Enabling Remote Login got me up and running.

Primc