acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Upgrade fails on IPv6-only network

Open nivex opened this issue 4 years ago • 4 comments

github.com is not reachable over IPv6 and therefore the automated upgrade will fail.

root@skylab:~# acme.sh --upgrade --debug 2 2>/tmp/err.log
https://github.com/acmesh-official/acme.sh
v2.8.6
[Sun 28 Jun 2020 11:02:51 AM EDT] Already uptodate!
[Sun 28 Jun 2020 11:02:51 AM EDT] Upgrade success!
root@skylab:~# less /tmp/err.log 
root@skylab:~# acme.sh --upgrade
[Sun 28 Jun 2020 11:04:01 AM EDT] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Sun 28 Jun 2020 11:04:01 AM EDT] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Sun 28 Jun 2020 11:04:01 AM EDT] Already uptodate!
[Sun 28 Jun 2020 11:04:01 AM EDT] Upgrade success!
root@skylab:~# acme.sh --upgrade --debug 2 2>/tmp/err.log
...

Debug log: err.log

nivex avatar Jun 28 '20 15:06 nivex

Hello, Github's unavailability over IPv6 is a very old troll. I tried to setup a mirror repo (on a IPv6-capable URL) but I'm stuck by an hardcoded URL (as described in #3067).

PandemiK911 avatar Jul 23 '20 12:07 PandemiK911

get.acme.sh related issue

nivex avatar Jul 24 '20 13:07 nivex

GitLab has IPv6 now. Perhaps that would be a good place to move.

nivex avatar Aug 30 '21 18:08 nivex

acme.sh --register-account fails because api.zerossl.com doesn't have an IPv6 address.

curl fails with error code 7.

acme.zerossl.com does have IPv6, so this seems like a little oversight.

jimmbelll avatar Jul 17 '22 11:07 jimmbelll