title: Updating Pod is not Working
body: <p>I know this question is previously asked and I review that asked question answers but still I am facing this error.</p>
  
  <blockquote>
    <p>[!] Failed to connect to GitHub to update the CocoaPods/Specs specs
    repo - Please check if you are offline, or that GitHub is down</p>
  </blockquote>
  
  <p>Previously before a week ago <code>pod update</code> command is working fine but now when I run that command it gives me same error everyTime.</p>
  
  <p><strong>I tried below solutions.</strong></p>
  
  <ol>
  <li>I tried this command with multiple internet connection.</li>
  </ol>
  
  <p>2.</p>
  
  <pre><code>pod repo remove master
  pod setup
  pod install
  </code></pre>
  
  <p>3.</p>
  
  <pre><code>$sudo rm -fr ~/.cocoapods/repos/master
  $pod setup
  $pod install
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FiuNu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FiuNu.png" alt="enter image description here"></a></p>