An error occurred while updating Hueman Addons: the download failed. CURL Error 18: Transfer closed with 2118455 Bytes Remaining to read
1. An error occurred while updating Hueman Addons: the download failed. CURL Error 18: Transfer closed with 2118455 bytes remaining to read. as shown in Figure 1
2. Open the plugin URL in the browser:https://downloads.wordpress.org/plugin/hueman-addons.2.3.0.zip. The download plugin was successful. Its size is 2.01 MB. as shown in Figure 2
3. Execute the command in local Windows 10: curlhttps://downloads.wordpress.org/plugin/hueman-addons.2.3.0.zip. The download was successful.
PS E:\Develop> curl https://downloads.wordpress.org/plugin/hueman-addons.2.3.0.zip
StatusCode : 200
StatusDescription : OK
Content : {80, 75, 3, 4...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Content-Disposition: attachment; filename=hueman-addons.2.3.0.zip
X-Frame-Options: SAMEORIGIN
X-nc: MISS ord 3
Accept-Ranges: bytes
Content-Length: 2118455...
Headers : {[Connection, keep-alive], [Content-Disposition, attachment; filename=hueman-addons.2.3.0.zip], [X-
Frame-Options, SAMEORIGIN], [X-nc, MISS ord 3]...}
RawContentLength : 2118455
4. In the production server CentOS 7, download hueman-addons.2.3.0.zip and extract it to the directory: /data/wwwroot/www.shuijingwanwq.com/wp-content/plugins/hueman-addons. as shown in Figure 3
[root@iZ23wv7v5ggZ ~]# ls
auto_fdisk.sh oneinstack oneinstack-full.tar.gz
[root@iZ23wv7v5ggZ ~]# wget -c https://downloads.wordpress.org/plugin/hueman-addons.2.3.0.zip
--2021-02-19 11:12:38-- https://downloads.wordpress.org/plugin/hueman-addons.2.3.0.zip
Resolving downloads.wordpress.org (downloads.wordpress.org)... 198.143.164.250
Connecting to downloads.wordpress.org (downloads.wordpress.org)|198.143.164.250|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2118455 (2.0M) [application/octet-stream]
Saving to: ‘hueman-addons.2.3.0.zip’
100%[======================================>] 2,118,455 67.9KB/s in 31s
2021-02-19 11:13:10 (66.3 KB/s) - ‘hueman-addons.2.3.0.zip’ saved [2118455/2118455]
[root@iZ23wv7v5ggZ ~]# ls
auto_fdisk.sh hueman-addons.2.3.0.zip oneinstack oneinstack-full.tar.gz
[root@iZ23wv7v5ggZ ~]# cd ..
[root@iZ23wv7v5ggZ /]# ls
bin data etc lib lost+found mnt proc run srv sys usr
boot dev home lib64 media opt root sbin swapfile tmp var
[root@iZ23wv7v5ggZ /]# cd data
[root@iZ23wv7v5ggZ data]# ls
lost+found wwwlogs wwwroot
[root@iZ23wv7v5ggZ data]# cd wwwroot/
[root@iZ23wv7v5ggZ wwwroot]# ls
default www.shuijingwanwq.com
[root@iZ23wv7v5ggZ wwwroot]# cd www.shuijingwanwq.com/
[root@iZ23wv7v5ggZ www.shuijingwanwq.com]# ls
1311aeca4e764c48afb3665fb02f3537.html readme.html wp-cron.php
Adobe AIR_3.6.exe report wp-includes
baidu_verify_U5mywj2jTv.html root.txt wp-links-opml.php
bdunion.txt webscan_360_cn.html wp-load.php
google6ef993c34e9a65a9.html wp-activate.php wp-login.php
hosts wp-admin wp-mail.php
index.php wp-blog-header.php wp-settings.php
license.txt wp-comments-post.php wp-signup.php
logreport wp-config.php wp-trackback.php
nbproject wp-config-sample.php xmlrpc.php
nginx-1.10.1.zip wp-content
[root@iZ23wv7v5ggZ www.shuijingwanwq.com]# cd wp-content/
[root@iZ23wv7v5ggZ wp-content]# ls
backupwordpress-e4a504c79e-backups plugins upgrade
index.php temp-write-test-1565457605 uploads
languages themes
[root@iZ23wv7v5ggZ wp-content]# cd plugins/
[root@iZ23wv7v5ggZ plugins]# ls
akismet index.php
backupwordpress kill-429
classic-editor light
contact-form-7 nimble-builder
disable-google-fonts regenerate-thumbnails
golang-brush-for-syntaxhighlighter-evolved syntaxhighlighter
gutenberg wp-cumulus
hello-dolly wp-pagenavi
hueman-addons
[root@iZ23wv7v5ggZ plugins]# cd hueman-addons/
[root@iZ23wv7v5ggZ hueman-addons]# ls
addons contextualizer ha-fire.php inc lang license.txt readme.txt
[root@iZ23wv7v5ggZ hueman-addons]# rm -rf *
[root@iZ23wv7v5ggZ hueman-addons]# ls
[root@iZ23wv7v5ggZ hueman-addons]# cp ~/hueman-addons.2.3.0.zip hueman-addons.2.3.0.zip
[root@iZ23wv7v5ggZ hueman-addons]# ls
hueman-addons.2.3.0.zip
[root@iZ23wv7v5ggZ hueman-addons]# pwd
/data/wwwroot/www.shuijingwanwq.com/wp-content/plugins/hueman-addons
[root@iZ23wv7v5ggZ hueman-addons]# ls
hueman-addons.2.3.0.zip
[root@iZ23wv7v5ggZ hueman-addons]# unzip -oq hueman-addons.2.3.0.zip -d /data/wwwroot/www.shuijingwanwq.com/wp-content/plugins
[root@iZ23wv7v5ggZ hueman-addons]# ls
addons ha-fire.php inc license.txt
contextualizer hueman-addons.2.3.0.zip lang readme.txt
[root@iZ23wv7v5ggZ hueman-addons]# rm -rf hueman-addons.2.3.0.zip
[root@iZ23wv7v5ggZ hueman-addons]# ls
addons contextualizer ha-fire.php inc lang license.txt readme.txt
[root@iZ23wv7v5ggZ hueman-addons]#
5. In the plugin page, Hueman Addons has been upgraded to version: 2.3.0. as shown in Figure 4
6. After there is more time in the follow-up, or when the next time to upgrade Hueman Addons, let’s solve this problem from the root cause, and realize the automatic update in the background.



