Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get nonce, let's try again -- when using wget2; wget & curl OK #4846

Open
pgnd opened this issue Oct 30, 2023 · 2 comments
Open

Could not get nonce, let's try again -- when using wget2; wget & curl OK #4846

pgnd opened this issue Oct 30, 2023 · 2 comments

Comments

@pgnd
Copy link

pgnd commented Oct 30, 2023

with

	./acme.sh --version
		https://github.com/acmesh-official/acme.sh
		v3.0.7

using either

	curl -V
		curl 8.4.0 (x86_64-redhat-linux-gnu) libcurl/8.4.0 OpenSSL/3.0.9 zlib/1.2.13 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh/0.10.5/openssl/zlib nghttp2/1.52.0 OpenLDAP/2.6.6
		Release-Date: 2023-10-11
		Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
		Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets

or

	wget --version
		GNU Wget 1.21.3 built on linux-gnu.

		-cares +digest +gpgme +https +ipv6 +iri +large-file +metalink +nls
		+ntlm +opie +psl +ssl/gnutls

works as always

if, instead, using 'next' wget, aka wget2 (see: https://gitlab.com/gnuwget/wget2; and, no it's not widely used yet ...),

	wget2 --version
		GNU Wget2 2.1.0 - multithreaded metalink/file/website downloader

		+digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie +psl -hsts
		+iconv +idn2 +zlib -lzma +brotlidec +zstd -bzip2 -lzip +http2 +gpgme

	ls -al `which wget`
		lrwxrwxrwx 1 root root 14 Sep  1 17:40 /usr/local/bin/wget -> /usr/bin/wget2*

can't issue/renew certs; fails @

"Could not get nonce, let's try again."

@ log:

	[Mon Oct 30 03:14:33 AM EDT 2023] HEAD
	[Mon Oct 30 03:14:33 AM EDT 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
	[Mon Oct 30 03:14:33 AM EDT 2023] _WGET='wget -q --content-on-error  --read-timeout=3.0  --tries=2  '
	[Mon Oct 30 03:14:34 AM EDT 2023] Using sed  -i
	[Mon Oct 30 03:14:34 AM EDT 2023] _ret='0'
	[Mon Oct 30 03:14:34 AM EDT 2023] GET
	[Mon Oct 30 03:14:34 AM EDT 2023] url='https://acme-v02.api.letsencrypt.org/directory'
	[Mon Oct 30 03:14:34 AM EDT 2023] timeout=
	[Mon Oct 30 03:14:34 AM EDT 2023] _WGET='wget -q --content-on-error '
	[Mon Oct 30 03:14:34 AM EDT 2023] ret='0'
	[Mon Oct 30 03:14:34 AM EDT 2023] GET
	[Mon Oct 30 03:14:34 AM EDT 2023] url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
	[Mon Oct 30 03:14:34 AM EDT 2023] timeout=
	[Mon Oct 30 03:14:34 AM EDT 2023] _WGET='wget -q --content-on-error '
	[Mon Oct 30 03:14:35 AM EDT 2023] ret='0'
	[Mon Oct 30 03:14:35 AM EDT 2023] Could not get nonce, let's try again.

not yet clear if particular cmd-line option(s) solve the problem, or an actual issue with wget.

@github-actions
Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@pgnd
Copy link
Author

pgnd commented Oct 30, 2023

is IS the latest version

it IS the debug=2 level log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant