<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Eschew Obfuscation: SVN Connection problem</title>
    <link>http://blog.maxdunn.com/articles/2006/12/12/svn-connection-problem</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Max Dunn's Personal Blog</description>
    <item>
      <title>SVN Connection problem</title>
      <description>&lt;p&gt;We use &lt;a href="http://rubyforge.org/projects/maxwiki"&gt;RubyForge&lt;/a&gt; to host &lt;a href="http://www.maxwiki.com"&gt;MaxWiki&lt;/a&gt;. A few days ago, I started having problems connecting to our Subversion (SVN) repository on RubyForge. In Eclipse, I would get the message:&lt;/p&gt;
	&lt;pre&gt;&lt;code&gt;svn: Cannot connect to 'svn+ssh://maxdunn210@rubyforge.org/': 
There was a problem while connecting to rubyforge.org:22&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;If I tried to use the &lt;span class="caps"&gt;SVN&lt;/span&gt; Repository Explorer in Eclipse, it would report something like:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;Cannot find folder "&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Running the svn command line would produce:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;ssh_exchange_identification: Connection closed by remote host
svn: Connection closed unexpectedly&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Since I had been struggling recently with some other &lt;span class="caps"&gt;SVN&lt;/span&gt; problems and had updated Eclipse to use the latest Subclipse version 1.1.9, I thought the problem had something to do with this upgrade. Also Wido had been struggling with problems connecting to the RubyForge &lt;span class="caps"&gt;SVN&lt;/span&gt; repository on his Windows box and finally got everything working fine when he setup a convoluted arrangement to use &lt;a href="http://rubyforge.org/docman/view.php/5/460/faq.html#publickey"&gt;public key authentication&lt;/a&gt;.  However, since these instructions didn&amp;#8217;t apply to my Mac, and I knew that it worked before, I kept banging my head against the wall trying different things.&lt;/p&gt;


	&lt;p&gt;Finally this morning, I ran into a note on RubyForge that described this &lt;a href="http://rubyforge.org/docman/view.php/5/460/faq.html#denyhosts"&gt;exact error.&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;It turns out that RubyForge uses a service called &lt;a href="http://denyhosts.sourceforge.net/"&gt;DenyHosts&lt;/a&gt; to to help thwart &lt;span class="caps"&gt;SSH&lt;/span&gt; server attacks. Somehow my IP got on this list, and that was what was causing this problem!&lt;/p&gt;


	&lt;p&gt;Since I use &lt;span class="caps"&gt;DSL&lt;/span&gt; with a dynamic IP, it is possible that the person that had this IP before me was trying to hack and got the IP on the blacklist. Or maybe it was just my futzing with the upgrade that triggered this. In any event, I just reset my &lt;span class="caps"&gt;DSL&lt;/span&gt; modem to get a new IP, and &amp;#8211; voila &amp;#8211; I can access RubyForge &lt;span class="caps"&gt;SVN&lt;/span&gt; again!&lt;/p&gt;


	&lt;p&gt;Probably if I setup Eclipse and &lt;span class="caps"&gt;SSH&lt;/span&gt; to use public key authentication, I wouldn&amp;#8217;t have this problem, but that will have to wait until next time.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Dec 2006 09:16:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:48f62633-c08d-48c0-b56b-a022b62466e5</guid>
      <author>Max Dunn</author>
      <link>http://blog.maxdunn.com/articles/2006/12/12/svn-connection-problem</link>
      <category>Tech Tips</category>
    </item>
    <item>
      <title>"SVN Connection problem" by Daniel Sim Lind</title>
      <description>&lt;p&gt;No sooner written than it came right!  Mat Schaffer is correct.  Your success was probably a co-incidence.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Nov 2007 05:27:18 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:18468f12-7410-4d8d-a375-8eff3a37becb</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/12/svn-connection-problem#comment-366</link>
    </item>
    <item>
      <title>"SVN Connection problem" by Daniel Sim Lind</title>
      <description>&lt;p&gt;This is happening for me too.  It seems to come and go and isn&amp;#8217;t connecting to my IP address as far as I can tell.  I am accessing via the plugin/install mechanism within ruby on a windows machine.  Got rspec trunk through fine and then moments latter I can&amp;#8217;t get the rspec for rails trunk.  I get the message:  svn: Connection closed unexpectedly.  I guess I&amp;#8217;ll keep retrying it.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Nov 2007 05:25:01 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:5a2332fb-96a7-49b0-b130-1e295ef44cc4</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/12/svn-connection-problem#comment-365</link>
    </item>
    <item>
      <title>"SVN Connection problem" by Mat Schaffer</title>
      <description>&lt;p&gt;Just for the record I had the same symptom on a totally static IP.  It cleared up in a few minutes w/o my intervention.  So I think there may be other causes for this issue.&lt;/p&gt;


	&lt;p&gt;Thanks for the info!&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 12:07:46 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:172d8156-bc21-43df-847a-4c5b41b1e7dc</guid>
      <link>http://blog.maxdunn.com/articles/2006/12/12/svn-connection-problem#comment-215</link>
    </item>
  </channel>
</rss>
