月度归档:2019年09月

produced an unexpected error: ‘ascii’ codec can’t decode byte 0xe9 in position

把配置文件里的中文字符串删除就好了

  1. $ sudo grep -r -P ‘[^\x00-\x7f]’ /etc/apache2 /etc/letsencrypt /etc/nginx
  2. 將看到的內容,全部進去檔案刪除
  3. 刪除這些編碼後,在重新執行 Let’s encrypt script 就可以通過囉~
Attempting to renew cert (www.xxx.com) from /etc/letsencrypt/renewal/www.xxx.com.conf produced an unexpected error: 'ascii' codec can't decode byte 0xe9 in position 5: ordinal not in range(128). Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/m.xxx.com/fullchain.pem (failure)
  /etc/letsencrypt/live/www.xxx.com/fullchain.pem (failure)

参考链接:https://blog.longwin.com.tw/2019/01/letsencrypt-ascii-codec-decode-fixed-2019/

Linux双网卡 双线 双网关 配置

2.增加2个路由表分别是电信:a0 联通:b1
# vi /etc/iproute2/rt_tables
252 a0
251 b1
ip route flush table a0
ip route add default via 172.31.16.1 dev eth0 src 172.31.17.107 table a0
ip rule add from 172.31.17.107 table a0

ip route flush table b1
ip route add default via 172.31.32.1 dev eth1 src 172.31.43.225 table b1
ip rule add from 172.31.43.225 table b1

The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.

(1/1) Google_Service_Exception
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "projectNotLinked",
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
],
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
}