没有不值得去解决的问题,也没有不值得去学习的技术!

Error Updating Hueman Addons: Download Failed. cURL Error 18: Transfer Closed With 2183267 Bytes Remaining to Read

An error occurred while updating Hueman Addons: Download failed. cURL error 18: transfer closed with 2183267 bytes remaining to read.

1. An error occurred while updating Hueman Addons: Download failed. cURL error 18: transfer closed with 2183267 bytes remaining to read. See Figure 1.

An error occurred while updating Hueman Addons: Download failed. cURL error 18: transfer closed with 2183267 bytes remaining to read.
Figure 1

2. Reference URL: https://www.shuijingwanwq.com/2021/02/19/4734/ . The solution was to download it on the server and place it in the plugin directory. I planned to fundamentally resolve this issue later when I had more time, or during the next Hueman Addons upgrade, to enable automatic updates in the backend.

3. Checked the server’s Nginx logs. See Figure 2.

Checking the server's Nginx logs
Figure 2
Plaintext

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/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/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/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 Hueman Addons plugin from the WordPress backend, I reinstalled Hueman Addons. The same error was still reported. See Figure 3.

After deleting the Hueman Addons plugin from the WordPress backend, I reinstalled Hueman Addons. The same error was still reported
Figure 3

5. Reference URL: https://www.admincolumns.com/forums/topic/plugin-does-not-update-anymore/ . It suggests trying the installation or update multiple times, which will eventually succeed. On the 4th attempt, the installation succeeded. Note: Before installing, I had already disabled the plugin: Kill 429. I am not sure if there is a connection between the two. Checked the Nginx logs. See Figure 4.

Reference URL: https://www.admincolumns.com/forums/topic/plugin-does-not-update-anymore/ . It suggests trying the installation or update multiple times, which will eventually succeed. On the 4th attempt, the installation succeeded. Note: Before installing, I had already disabled the plugin: Kill 429. I am not sure if there is a connection between the two. Checking the Nginx logs
Figure 4
Plaintext

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/2019/01/28/3146/" "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/2019/01/28/3146/" "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/2019/01/28/3146/" "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. Checked the plugin directory: /data/wwwroot/www.shuijingwanwq.com/wp-content/plugins, and the directory hueman-addons exists there. See Figure 5.

Checking the plugin directory: /data/wwwroot/www.shuijingwanwq.com/wp-content/plugins, where the directory hueman-addons exists
Figure 5

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系