wget2 icon indicating copy to clipboard operation
wget2 copied to clipboard

Doesn't work with gnutls-3.8.7.1

Open rzhy1 opened this issue 1 year ago • 4 comments

After using gnutls-3.8.7.1, it can be compiled successfully, but it does not work properly: there is no response during the download process.

rzhy1 avatar Aug 16 '24 15:08 rzhy1

Did you already report an issue to GnuTLS (something must have changed on their side)? What is the wget2 commit you built with? Can you attach the output of wget2 -d https://example.com?

rockdaboot avatar Aug 16 '24 17:08 rockdaboot

Just built wget2 with gnutls-3.8.7 (built from source) and wget2 works as expected. I am on Debian testing. What OS are you on?

rockdaboot avatar Aug 16 '24 21:08 rockdaboot

github action runs-on: ubuntu-24.04 CROSS_HOST: "x86_64-w64-mingw32" It doesn't work with gnutls-3.8.7 d:\Downloads\wget2.exe_29>wget2.exe -d https://github.com/rockdaboot/wget2/releases/download/v2.1.0/wget2.exe 17.083219.420 Local URI encoding = 'CP936' 17.083219.423 Input URI encoding = 'CP936' 17.083219.425 Fetched HSTS data from 'C:\Users\rzhy\AppData\Local/wget/.wget-hsts' 17.083219.426 Fetched HPKP data from 'C:\Users\rzhy\AppData\Local/wget/.wget-hpkp' 17.083219.428 set_exit_status(0) 17.083219.429 *url = 17.083219.429 *3 https://github.com/rockdaboot/wget2/releases/download/v2.1.0/wget2.exe 17.083219.430 path rockdaboot/wget2/releases/download/v2.1.0/wget2.exe -> 17.083219.432 rockdaboot/wget2/releases/download/v2.1.0/wget2.exe 17.083219.433 transcoded 9 bytes from 'utf-8' to 'CP936' 17.083219.434 local filename = 'wget2.exe' 17.083219.435 host_add_job: job fname wget2.exe 17.083219.435 host_add_job: 0x1d47dccbdf0 https://github.com/rockdaboot/wget2/releases/download/v2.1.0/wget2.exe 17.083219.437 host_add_job: qsize 1 host-qsize=1 17.083219.438 queue_size: qsize=1 17.083219.439 queue_size: qsize=1 17.083219.439 queue_size: qsize=1 17.083219.440 [0] action=1 pending=0 host=0x0 17.083219.441 dequeue job https://github.com/rockdaboot/wget2/releases/download/v2.1.0/wget2.exe 17.083219.442 resolving github.com:443... 17.083219.454 has 20.205.243.166:443 17.083219.455 has 20.205.243.166:443 17.083219.455 trying 20.205.243.166:443... 17.083219.543 GnuTLS init 17.083219.558 GnuTLS system certificate store is empty 17.083219.570 Certificates loaded: 127 17.083219.572 GnuTLS init done 17.083219.572 TLS False Start requested 17.083219.573 SNI github.com 17.083219.574 OCSP stapling requested for github.com 17.083219.575 ALPN offering h2 17.083219.576 ALPN offering http/1.1

rzhy1 avatar Aug 17 '24 00:08 rzhy1

有办法解决吗

Just built wget2 with gnutls-3.8.7 (built from source) and wget2 works as expected. I am on Debian testing. What OS are you on?

@rockdaboot

rzhy1 avatar Sep 03 '24 11:09 rzhy1