Certbot-auto renew 自动续订失败

Upgrading certbot-auto 0.36.0 to 0.40.0…
Couldn’t download https://raw.githubusercontent.com/certbot/certbot/v0.40.0/letsencrypt-auto-source/letsencrypt-auto.

Hi @voidlh,

How recently did you try this?

Is access to https://raw.githubusercontent.com/ blocked from your network?

A random unrelated-to-Certbot file that you could try to access

https://raw.githubusercontent.com/Homebrew/install/master/install

for example, you could try with

curl -v https://raw.githubusercontent.com/Homebrew/install/master/install

on your web server to see if it can access that.

1 Like

curl-v https://raw.githubusercontent.com/Homebrew/install/master/install
-bash: curl-v: command not found
[root@VM_0_2_centos ~]# curl -v https://raw.githubusercontent.com/Homebrew/install/master/install

  • About to connect() to raw.githubusercontent.com port 443 (#0)
  • Trying 199.16.156.40…
  • Connection timed out
  • Failed connect to raw.githubusercontent.com:443; Connection timed out
  • Closing connection 0
    curl: (7) Failed connect to raw.githubusercontent.com:443; Connection timed out
    我是在腾讯云服务器上布署的。
    我在阿里云上偿试了一下连接发现是可以的。
    curl -v https://raw.githubusercontent.com/Homebrew/install/master/install
  • About to connect() to raw.githubusercontent.com port 443 (#0)
  • Trying 151.101.108.133…
  • Connected to raw.githubusercontent.com (151.101.108.133) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • Server certificate:
  •   subject: CN=www.github.com,O="GitHub, Inc.",L=San Francisco,ST=California,C=US
    
  •   start date: Mar 23 00:00:00 2017 GMT
    
  •   expire date: May 13 12:00:00 2020 GMT
    
  •   common name: www.github.com
    
  •   issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
    

GET /Homebrew/install/master/install HTTP/1.1
User-Agent: curl/7.29.0
Host: raw.githubusercontent.com
Accept: /

< HTTP/1.1 200 OK
< Content-Type: text/plain; charset=utf-8
< Content-Security-Policy: default-src 'none

it looks like raw.githubusercontent.com is blocked by GFW. which file you need?

Just tested… and seems like GitHub is fine on both service provider.

你试一下清空DNS缓存然后再试一下?
我阿里云和腾讯云机子都没有问题…

github itself is fine, raw.githubusercontent.com has poisoned dns record in china

not