GlareVPN使用日本在地伺服器‧日本本地IP位址,述不能訪問日本國內網站的情形將通通消失。  名古屋也有電競旅館!?「GOLD STAY 名古屋 栄」電競專用三人高級客房登場!   快速補充能量!日本產能量飲品Kiiva發表首款款果凍飲料「KiiVA SPEED CHARGE」!   粉絲們敲碗已久的中文版終於來了!《復活邪神3》繁體中文版上市同時舉辦慶祝活動   《Pikmin Bloom》服務正式啟動!與皮克敏一起逛大街吧!   最新生存模擬遊戲《Surviving the Aftermath》最新宣傳片公開!   PlayStation.Blog偕同一眾好友獻上季節祝賀   彩虹社Vtuber静凛 決定在Zepp Nagoya舉行實體個人演唱會!   動森DLC《集合啦!動物森友會 快樂家樂園》發布! 

Let’s encrypt 遇到 ‘ascii’ codec can’t decode byte 0xe5 的解法

商業

Let's encrpyt 在更新憑證的時候,遇到下述錯誤訊息:

Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: 'ascii' codec can't decode byte 0xe5 in position 2: ordinal not in range(128). Skipping.

要怎麼解決呢?

Let's encrypt 遇到 'ascii' codec can't decode byte 0xe5 的解法

錯誤訊息主要是這行:

an unexpected error: 'ascii' codec can't decode byte 0xe5 in position 2: ordinal not in range(128)

此篇 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 2: ordinal not in range(128) 是 0xe7,但是解法都一樣

解法

  1. $ sudo grep -r -P '[^x00-x7f]' /etc/apache2 /etc/letsencrypt /etc/nginx
  2. 將看到的內容,全部進去檔案刪除
  3. 刪除這些編碼後,在重新執行 Let's encrypt script 就可以通過囉~
Tsung

隨機商業新聞

Micorsoft