Bug#980119: libgnutls30: "An unexpected TLS packet was received" when connecting to FTPS (FTP/TLS) servers

Andreas Metzler ametzler at bebt.de
Sun Jan 17 06:53:03 GMT 2021


On 2021-01-16 "Boyd Stephen Smith Jr." <bss at iguanasuicide.net> wrote:
> On Saturday, January 16, 2021 6:35:13 AM CST Andreas Metzler wrote:
> > Does
> > env GNUTLS_DEBUG_LEVEL=4711 lftp ....
> > produce more verbose output?

> Yes.  But, probably not verbose enough:
> ---8<---
> % env GNUTLS_DEBUG_LEVEL=4711 lftp -u boyd.stephen.smith.jr at gmail.com.125388 
> bos-sr-2-36.akliz.net
> gnutls[2]: Enabled GnuTLS 3.7.0 logging...
> gnutls[2]: getrandom random generator was detected
> gnutls[2]: Intel SSSE3 was detected
> gnutls[2]: Intel SHA was detected
> gnutls[2]: Intel AES accelerator was detected
> gnutls[2]: Intel GCM accelerator (AVX) was detected
> gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
> Password: 
> lftp boyd.stephen.smith.jr at gmail.com.125388@bos-sr-2-36.akliz.net:~> ls
> ls: Fatal error: gnutls_record_recv: An unexpected TLS packet was received.
> --->8---

Hello,

ah, lftp overrides this with gnutls_global_set_log_level(). Does wget
also fail? If it does can you try something like
env GNUTLS_DEBUG_LEVEL=4711 wget --verbose--debug --ask-password --user=boyd.stephen.smith.jr at gmail.com.125388 ftps://bos-sr-2-36.akliz.net/somefile 

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-gnutls-maint mailing list