The meaning of life is to explore the world

GitHub connection issue

Posted on By Jason Liu

  1. GitHub may have connection error like this:
    git push -u origin master
    fatal: unable to access 'https://github.com/jasonmccb/myWSLSync.git/': Could not resolve host: github.com
    
  2. GitHub.com cannot be pinged, it’s expected.
    ping github.com
    Pinging github.com [13.237.44.5] with 32 bytes of data:
    Request timed out.
    
  3. GitHub.com cannot be tracerted, it’s expected.
    tracert github.com
    Tracing route to github.com [52.64.108.95]
    over a maximum of 30 hops:
      1    12 ms    12 ms     8 ms  XiaoQiang [192.168.28.1]
      2     8 ms     8 ms     8 ms  125-236-192-9.adsl.xtra.co.nz [125.236.192.9]
      3     *        *        *     Request timed out.
      4    52 ms    64 ms     *     122.56.113.4
      5    17 ms    17 ms    19 ms  ae7-2.akbr7.global-gateway.net.nz [122.56.119.53]
      6    48 ms    43 ms    49 ms  et8-0-0.sgbr3.global-gateway.net.nz [122.56.119.26]
      7    48 ms    40 ms    44 ms  ae2-10.sgbr4.global-gateway.net.nz [202.50.232.246]
      8    40 ms    43 ms    50 ms  99.83.65.184
      9    58 ms    45 ms    60 ms  54.240.203.167
     10    69 ms    47 ms    58 ms  150.222.112.215
     11    96 ms    55 ms    63 ms  150.222.112.218
     12    61 ms    45 ms    55 ms  52.95.37.107
     13    48 ms    50 ms    72 ms  54.240.192.115
     14     *        *        *     Request timed out.
     15     *        *        *     Request timed out.
     16     *        *        *     Request timed out.
     17     *        *        *     Request timed out.
     18     *        *        *     Request timed out.
     19     *        *        *     Request timed out.
     20     *        *        *     Request timed out.
     21     *        *        *     Request timed out.
    
  4. GitHub connection issue can fix itself
    git push -u origin master
    Enumerating objects: 3, done.
    Counting objects: 100% (3/3), done.
    Delta compression using up to 12 threads
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (3/3), 2.39 KiB | 2.39 MiB/s, done.
    Total 3 (delta 0), reused 0 (delta 0)