title: Android SDK installation error - "no buffer space available (maximum connections reached?): recv failed
body: <p>I am trying to get my environment setup to develop an android app so I downloaded the SDK (<a href="http://developer.android.com/sdk/installing.html" rel="nofollow noreferrer">http://developer.android.com/sdk/installing.html</a>).
  After unpacking the files and running the SDK Setup.exe, the Android SDK and AVD manager opens up.
  During the installation process, I got an error stating the following:</p>
  
  <blockquote>
    <p>Failed to fetch URL <a href="https://dl-ssl.google.com/android/repository/repository.xml" rel="nofollow noreferrer">https://dl-ssl.google.com/android/repository/repository.xml</a>, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.</p>
  </blockquote>
  
  <p>So then I proceed to the SETTINGS tab and activated the check box which states:</p>
  
  <blockquote>
    <p>Force https://... sources to be fetched using http://</p>
  </blockquote>
  
  <p>Then click save and apply.  A box flashes on screen, which appears to be the previous box which showed the error, except this time, the progress bar races from 0 to 100% in about a second and then disappears.  So clicking the FORCE option seemed to have worked for that issue.</p>
  
  <p>Now, I click on the AVAILABLE PACKAGES tab which is where the Android manager actually downloads all the available resources including every "SDK Platform Android Vx.x" and every "Google API by Google Inc., API x, revision x"</p>
  
  <p>There are green check marks in every check box indicating that I need to download every update.
  SO I click INSTALL SELECTED.</p>
  
  <p>The confirmation page comes up.  Again, I click INSTALL ACCEPTED.</p>
  
  <p>The INSTALLATION ARCHIVES box pops up and this is where I get stuck.  I receive the following errors and I'm not sure what to do from here..</p>
  
  <blockquote>
    <p>Downloading Documentation for Android SDK, API 7, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 2.1, API 7, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Skipping 'Google APIs by Google Inc., Android API 7, revision 1'; it depends on 'SDK  Platform Android 2.1, API 7, revision 1' which was not installed.<br>
    Downloading Google APIs by Google Inc., Android API 7, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 2.0.1, API 6, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Skipping 'Google APIs by Google Inc., Android API 6, revision 1'; it depends on 'SDK  Platform Android 2.0.1, API 6, revision 1' which was not installed.<br>
    Downloading Google APIs by Google Inc., Android API 6, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 2.0, API 5, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Skipping 'Google APIs by Google Inc., Android API 5, revision 1'; it depends on 'SDK Platform Android 2.0, API 5, revision 1' which was not installed.<br>
    Downloading Google APIs by Google Inc., Android API 5, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 1.6, API 4, revision 2<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Skipping 'Google APIs by Google Inc., Android API 4, revision 2'; it depends on 'SDK  Platform Android 1.6, API 4, revision 2' which was not installed.<br>
    Downloading Google APIs by Google Inc., Android API 4, revision 2<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 1.5, API 3, revision 3<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Skipping 'Google APIs by Google Inc., Android API 3, revision 3'; it depends on 'SDK  Platform Android 1.5, API 3, revision 3' which was not installed.<br>
    Downloading Google APIs by Google Inc., Android API 3, revision 3<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading SDK Platform Android 1.1, API 2, revision 1<br>
    No buffer space available (maximum connections reached?): recv failed<br>
    Downloading Usb Driver package, revision 3<br>
    No buffer space available (maximum connections reached?): recv failed  </p>
  </blockquote>
  
  <p>I did some googling on "No buffer space available (maximum connections reached?)" and apparently it is a socket issue that typically occurs when a database query is called and there are a large number of TCP connections.</p>
  
  <p>But beyond that I'm completely stuck.  Can't find anything on my issue relating to Android SDK installation and I don't really know where to turn to continue with the SDK installation.</p>
  
  <p>Thank you in advance!</p>
  
  <hr>
  
  <p>Anyone familiar with installing the Android sdk, is there an alternative way of downloading the SDK components OTHER then using the Android SDK management utility??</p>
  
  <p>Obviously something about my system isn't playing nicely with this manager but I'm completely stuck here and really want to get going..</p>
  
  <p>Thanks again..</p>
  
  <p>[Screenshots]
  Available packages for download:
  <a href="http://i45.tinypic.com/9igs48.jpg" rel="nofollow noreferrer">http://i45.tinypic.com/9igs48.jpg</a></p>
  
  <p>--</p>
  
  <p>Installation errors:
  <a href="http://i50.tinypic.com/260fxox.jpg" rel="nofollow noreferrer">http://i50.tinypic.com/260fxox.jpg</a></p>