Gnutls_handshake() failed: Error in protocol version downloading archives

While downloading a libsodium archive, the build fails because of this error:

Failed to download sources: module libsodium: gnutls_handshake() failed: Error in protocol version

This can be reproduced with gnutls-cli

$ gnutls-cli -V -p 443 download.libsodium.org
Processed 149 CA certificate(s).
Resolving 'download.libsodium.org:443'...
Connecting to '37.59.238.213:443'...
*** Fatal error: A TLS fatal alert has been received.
*** Received alert [70]: Error in protocol version

With OpenSSL isucceeds.

I’ve asked to the libsodium team if they have changed anything lately and I’ll let you know.

Do you have a workaround for this?

Same here https://flathub.org/builds/#/builders/32/builds/35005. It used to work 24 days ago, but now this error:

Failed to download sources: module libsodium: gnutls_handshake() failed: Error in protocol version