An error occurred while updating Hueman Addons: the download failed. CURL Error 18: Transfer closed with 2183267 bytes remaining to read, automatic update implementation in the background
1. An error occurred while updating Hueman Addons: the download failed. Curl Error 18: Transfer closed with 2183267 bytes remaining to read. CURL error 18: Transport is turned off, and 2183267 bytes are available for read. as shown in Figure 1
2. Reference URL:https://www.shuijingwanwq.com/2021/02/19/4734/. The solution is to download from the server and put it in the plugin directory. At that time, after the plan has more abundant time, or when the next time to upgrade Hueman Addons, I will solve this problem from the root cause, and realize the automatic update in the background.
3. View the server’s Nginx log. as shown in Figure 2
101.207.139.251 - - [29/Jul/2021:10:56:14 +0800] "POST /wp-admin/update-core.php?action=do-plugin-upgrade HTTP/2.0" 200 10598 "https://www.shuijingwanwq.com/wp-admin/update-core.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
101.207.139.251 - - [29/Jul/2021:10:56:18 +0800] "GET /wp-admin/update.php?action=update-selected&plugins=hueman-addons%2Fha-fire.php&_wpnonce=f03e5a1e5e HTTP/2.0" 200 6126 "https://www.shuijingwanwq.com/wp-admin/update-core.php?action=do-plugin-upgrade" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
106.11.157.44 - - [29/Jul/2021:10:56:24 +0800] "GET /tag/clause/ HTTP/1.1" 200 17772 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
106.11.159.36 - - [29/Jul/2021:10:56:24 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-regular-400.woff2?v=5.15.2 HTTP/1.1" 200 13588 "https://www.shuijingwanwq.com/en/tag/clause/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
106.11.158.57 - - [29/Jul/2021:10:56:24 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-solid-900.woff2?v=5.15.2 HTTP/1.1" 200 80252 "https://www.shuijingwanwq.com/en/tag/clause/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
203.208.60.67 - - [29/Jul/2021:10:56:25 +0800] "GET /2021/07/29/5104/ HTTP/1.1" 200 21518 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.90 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
106.11.159.35 - - [29/Jul/2021:10:56:27 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-brands-400.woff2?v=5.15.2 HTTP/1.1" 200 78472 "https://www.shuijingwanwq.com/en/tag/clause/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
203.208.60.72 - - [29/Jul/2021:10:56:32 +0800] "GET /category/development-tool/php-development-tool/ HTTP/1.1" 200 22206 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
4. After deleting the plugin Hueman Addons in the WordPress background, install Hueman Addons. The same error is still reported. as shown in Figure 3
5. Reference URL:https://www.admincolumns.com/forums/topic/plugin-does-not-update-anymore/. It is recommended to try to install or update multiple times, and it will eventually succeed. At the time of installation, try to the 4th time, the installation is successful. Note: Plug-in is disabled before installation: Kill 429, not sure if there is any correlation between them. View Nginx logs. as shown in Figure 4
161.117.86.184 - - [29/Jul/2021:11:25:23 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-brands-400.woff2?v=5.15.2 HTTP/2.0" 200 78472 "https://www.shuijingwanwq.com/en/2019/01/28/9897/" "DX_2.3.0.43641 / 5.0 (Windows; U; Windows NT 6.1; en-US; rv [Other]: 1.9.1.7 ) Gecko YHZ_Client_Test/2.9.0050.46994"
161.117.86.184 - - [29/Jul/2021:11:25:23 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-regular-400.woff2?v=5.15.2 HTTP/2.0" 200 13588 "https://www.shuijingwanwq.com/en/2019/01/28/9897/" "DX_2.3.0.43641 / 5.0 (Windows; U; Windows NT 6.1; en-US; rv [Other]: 1.9.1.7 ) Gecko YHZ_Client_Test/2.9.0050.46994"
161.117.86.184 - - [29/Jul/2021:11:25:23 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-solid-900.woff2?v=5.15.2 HTTP/2.0" 200 80252 "https://www.shuijingwanwq.com/en/2019/01/28/9897/" "DX_2.3.0.43641 / 5.0 (Windows; U; Windows NT 6.1; en-US; rv [Other]: 1.9.1.7 ) Gecko YHZ_Client_Test/2.9.0050.46994"
106.11.158.40 - - [29/Jul/2021:11:25:26 +0800] "GET /2020/01/13/ HTTP/1.1" 200 17894 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
106.11.156.37 - - [29/Jul/2021:11:25:26 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-regular-400.woff2?v=5.15.2 HTTP/1.1" 200 13588 "https://www.shuijingwanwq.com/2020/01/13/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
106.11.157.39 - - [29/Jul/2021:11:25:26 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-solid-900.woff2?v=5.15.2 HTTP/1.1" 200 80252 "https://www.shuijingwanwq.com/2020/01/13/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
106.11.155.70 - - [29/Jul/2021:11:25:28 +0800] "GET /wp-content/themes/hueman/assets/front/webfonts/fa-brands-400.woff2?v=5.15.2 HTTP/1.1" 200 78472 "https://www.shuijingwanwq.com/2020/01/13/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"
6. View the plugin directory: /data/wwwroot/www.shuijingwanwq.com/wp-content/plugins,其中存在目录:hueman-addons。如图5




