[bug #58525] HTTP request sent, awaiting response... Read error (Bad file descriptor) in headers.

2020-06-07 Thread Ulrich Windl
URL:
  

 Summary: HTTP request sent, awaiting response... Read error
(Bad file descriptor) in headers.
 Project: GNU Wget
Submitted by: gnats
Submitted on: Sun 07 Jun 2020 08:49:53 PM UTC
Category: Protocol Issue
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
Originator Email: 
 Open/Closed: Open
 Release: 1.20
 Discussion Lock: Any
Operating System: Microsoft Windows
 Reproducibility: Every Time
   Fixed Release: None
 Planned Release: None
  Regression: None
   Work Required: None
  Patch Included: None

___

Details:

I have this reproducible issue with downloads from AMD (Radeon driver) in
Windows 10 (64-bit) (binary from https://eternallybored.org/misc/wget/):

wget-1.20.3-win32>wget -N
https://drivers.amd.com/drivers/beta/Win10-Radeon-Software-Adrenalin-2020-Edition-20.5.1-May27.exe
--2020-06-07 22:33:11-- 
https://drivers.amd.com/drivers/beta/Win10-Radeon-Software-Adrenalin-2020-Edition-20.5.1-May27.exe
Resolving drivers.amd.com (drivers.amd.com)... 2.22.69.4
Connecting to drivers.amd.com (drivers.amd.com)|2.22.69.4|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.amd.com/de/support/kb/faq/download-incomplete
[following]
--2020-06-07 22:33:11-- 
https://www.amd.com/de/support/kb/faq/download-incomplete
Resolving www.amd.com (www.amd.com)... 92.123.252.55
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... connected.
HTTP request sent, awaiting response... Read error (error:0B07C065:x509
certificate routines:X509_STORE_add_cert:cert already in hash table;
error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in
hash table) in headers.
Retrying.

--2020-06-07 22:33:31--  (try: 2) 
https://www.amd.com/de/support/kb/faq/download-incomplete
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... connected.
HTTP request sent, awaiting response... Read error (Bad file descriptor) in
headers.
Retrying.

--2020-06-07 22:33:53--  (try: 3) 
https://www.amd.com/de/support/kb/faq/download-incomplete
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... connected.
HTTP request sent, awaiting response... Read error (Bad file descriptor) in
headers.
Retrying.

--2020-06-07 22:34:15--  (try: 4) 
https://www.amd.com/de/support/kb/faq/download-incomplete
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... connected.
HTTP request sent, awaiting response... Read error (Bad file descriptor) in
headers.
Retrying.

^C





___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #58525] HTTP request sent, awaiting response... Read error (Bad file descriptor) in headers.

2020-06-07 Thread Ulrich Windl
Follow-up Comment #1, bug #58525 (project wget):

Running in --debug mode I got some more details:

...
Initiating SSL handshake.
seconds 900,00, Winsock error: 0
Handshake successful; connected socket 3 to SSL handle 0x03106e00
certificate:
  subject: CN=orc.amd.com,O=Advanced Micro Devices,L=Austin,ST=Texas,C=US
  issuer:  CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
X509 certificate successfully verified and matches host drivers.amd.com
...
HTTP request sent, awaiting response... seconds 900,00, Winsock error: 0

---response begin---
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: https://www.amd.com/de/support/kb/faq/download-incomplete
Date: Sun, 07 Jun 2020 20:51:20 GMT
Connection: keep-alive

---response end---
...
Converted file name
'Win10-Radeon-Software-Adrenalin-2020-Edition-20.5.1-May27.exe' (UTF-8) ->
'Win10-Radeon-Software-Adrenalin-2020-Edition-20.5.1-May27.exe' (CP1252)
--2020-06-07 22:50:34-- 
https://www.amd.com/de/support/kb/faq/download-incomplete
Resolving www.amd.com (www.amd.com)... seconds 0,00, 92.123.252.55
Caching www.amd.com => 92.123.252.55
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... seconds 0,00,
connected.
Created socket 4.
Releasing 0x0311ae90 (new refcount 1).
Initiating SSL handshake.
seconds 900,00, Winsock error: 0
Handshake successful; connected socket 4 to SSL handle 0x03124870
certificate:
  subject: CN=amd.com,OU=MARKETING,O=Advanced Micro
Devices,L=Austin,ST=Texas,C=US
  issuer:  CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
X509 certificate successfully verified and matches host www.amd.com

---request begin---
GET /de/support/kb/faq/download-incomplete HTTP/1.1
User-Agent: Wget/1.19.4 (mingw32)
Accept: */*
Accept-Encoding: identity
Host: www.amd.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... Read error (error:0B07C065:x509
certificate routines:X509_STORE_add_cert:cert already in hash table;
error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in
hash table) in headers.
Closed 4/SSL 0x03124870
Retrying.

--2020-06-07 22:50:54--  (try: 2) 
https://www.amd.com/de/support/kb/faq/download-incomplete
Found www.amd.com in host_name_addresses_map (0311ae90)
Connecting to www.amd.com (www.amd.com)|92.123.252.55|:443... seconds 0,00,
connected.
Created socket 4.
Releasing 0x0311ae90 (new refcount 1).
Initiating SSL handshake.
seconds 900,00, Winsock error: 0
Handshake successful; connected socket 4 to SSL handle 0x03123410
certificate:
  subject: CN=amd.com,OU=MARKETING,O=Advanced Micro
Devices,L=Austin,ST=Texas,C=US
  issuer:  CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
X509 certificate successfully verified and matches host www.amd.com

---request begin---
GET /de/support/kb/faq/download-incomplete HTTP/1.1
User-Agent: Wget/1.19.4 (mingw32)
Accept: */*
Accept-Encoding: identity
Host: www.amd.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... ^C


___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/