title: Android Studio unable to connect to Github via proxy
body: <p><strong>Environment Info</strong></p>
  
  <pre><code>Windows 7 Enterprise OS SP 1
  Android Studio AI-141.1972460
  Build #AI-141.1972460, built on June 1, 2015
  JRE: 1.7.0_80 b15 amd64
  JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
  </code></pre>
  
  <p>Access to internet is via corporate proxy server</p>
  
  <p><strong>Expected Behavior</strong></p>
  
  <p><strong><em>Location:</em></strong> 
  <strong><em>Version Control-->Github</em></strong>  configuration panel</p>
  
  <p>1.When valid github account and password fields are populated clicking on <strong>Test</strong> connection button should result in successful connection confirmation to Github.<br>
  2.When selecting <strong><em>Share Project on Github</em></strong>  project successfully connects and uploads project files.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>Can not share project via Github via <strong><em>Share Project on Github</em></strong>
  Following error is reported when clicking on <strong><em>Test</em></strong> and when selecting
   menu option</p>
  
  <p><strong>Error Indicated</strong></p>
  
  <pre><code>Can't login: Connect to api.github.com:443
  </code></pre>
  
  <p><strong>Additional Details</strong></p>
  
  <p>1.Proxy is correctly configured via Android Studio. SDK, SDK tools and plugins are successfully downloaded.</p>
  
  <p>2.Git commands work successfully from a windows command prompt and via Android Studio's Git Menu Options.</p>
  
  <p>Successful commits, and push via Android Studio work successfully, after first creating repository via Github website.  </p>
  
  <p>However via <strong><em>Test</em></strong> button and <strong><em>Share Project on Github</em></strong> menu option fails with the error indicated above. </p>
  
  <p>I understand that this error is indicated when proxy is configured and Github plugin access is not configured for proxy (However I see no way of setting proxy, I assumed that proxy settings are global for all plugins in Android Studio).</p>
  
  <p>Please help me resolve this issue. I using Git menu options so it is not a showstopper but it is still very frustrating.  </p>
  
  <p>I entered Bug Report <strong>Issue 175831</strong> <a href="https://code.google.com/p/android/issues/detail?id=175831" rel="noreferrer">Android Open Source</a> site</p>