Error with the zip file in ftp

Created on 13 September 2024, 6 months ago
Updated 20 September 2024, 6 months ago

Problem/Motivation

The zip file of the latest version (6.2.7) is not available for download in https://ftp.drupal.org/files/projects/webform-6.2.7.zip

When you run the update with composer it fails.

Steps to reproduce

composer update

Failed to download drupal/webform from dist: The \"https://ftp.drupal.org/files/projects/webform-6.2.7.zip\" file could not be downloaded (HTTP/2 404 )

Proposed resolution

Upload the package again to ftp

πŸ› Bug report
Status

Needs work

Version

6.2

Component

Packaging

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @control-mantenimiento
  • Status changed to Postponed: needs info 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States drumm NY, US

    I’m not seeing any issues at the CDN at the moment. Is this still happening for you? If so, what is the output of

    curl -v https://ftp.drupal.org/files/projects/webform-6.2.7.zip | file -

  • Hi! It's still happening, I'm attaching the curl output.

    curl -v https://ftp.drupal.org/files/projects/webform-6.2.7.zip | file
    Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding]
                [--mime-type] [-e <testname>] [-F <separator>]  [-f <namefile>]
                [-m <magicfiles>] [-P <parameter=value>] [--exclude-quiet]
                <file> ...
           file -C [-m <magicfiles>]
           file [--help]
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 151.101.134.217:443...
    * Connected to ftp.drupal.org (151.101.134.217) port 443 (#0)
    * ALPN, offering h2
    * ALPN, offering http/1.1
    *  CAfile: /etc/ssl/certs/ca-certificates.crt
    *  CApath: /etc/ssl/certs
    * TLSv1.0 (OUT), TLS header, Certificate Status (22):
    } [5 bytes data]
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
    * TLSv1.2 (IN), TLS header, Certificate Status (22):
    { [5 bytes data]
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    { [104 bytes data]
    * TLSv1.2 (IN), TLS header, Certificate Status (22):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    { [2817 bytes data]
    * TLSv1.2 (IN), TLS header, Certificate Status (22):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    { [300 bytes data]
    * TLSv1.2 (IN), TLS header, Certificate Status (22):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS handshake, Server finished (14):
    { [4 bytes data]
    * TLSv1.2 (OUT), TLS header, Certificate Status (22):
    } [5 bytes data]
    * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    } [37 bytes data]
    * TLSv1.2 (OUT), TLS header, Finished (20):
    } [5 bytes data]
    * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
    } [1 bytes data]
    * TLSv1.2 (OUT), TLS header, Certificate Status (22):
    } [5 bytes data]
    * TLSv1.2 (OUT), TLS handshake, Finished (20):
    } [16 bytes data]
    * TLSv1.2 (IN), TLS header, Finished (20):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS header, Certificate Status (22):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS handshake, Finished (20):
    { [16 bytes data]
    * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
    * ALPN, server accepted to use h2
    * Server certificate:
    *  subject: CN=*.drupal.org
    *  start date: May 13 20:50:13 2024 GMT
    *  expire date: Jun 14 20:50:12 2025 GMT
    *  subjectAltName: host "ftp.drupal.org" matched cert's "*.drupal.org"
    *  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2024 Q2
    *  SSL certificate verify ok.
    * Using HTTP2, server supports multiplexing
    * Connection state changed (HTTP/2 confirmed)
    * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    * Using Stream ID: 1 (easy handle 0x55edbc3cdeb0)
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    > GET /files/projects/webform-6.2.7.zip HTTP/2
    > Host: ftp.drupal.org
    > user-agent: curl/7.81.0
    > accept: */*
    >
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    < HTTP/2 200
    < server: nginx
    < content-type: application/zip
    < last-modified: Fri, 19 Jul 2024 21:40:43 GMT
    < etag: "669add5b-683031"
    < via: 1.1 varnish, 1.1 varnish
    < accept-ranges: bytes
    < age: 1725066
    < date: Mon, 16 Sep 2024 08:46:45 GMT
    < x-served-by: cache-bfi-krnt7300060-BFI, cache-mad22073-MAD
    < x-cache: HIT, HIT
    < x-cache-hits: 2404, 0
    < x-timer: S1726476405.079047,VS0,VE1
    < content-length: 6828081
    <
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    * TLSv1.2 (IN), TLS header, Supplemental data (23):
    { [5 bytes data]
    * Failure writing output to destination
    * TLSv1.2 (OUT), TLS header, Supplemental data (23):
    } [5 bytes data]
    * stopped the pause stream!
      0 6668k    0  5171    0     0  30709      0  0:03:42 --:--:--  0:03:42 30779
    * Connection #0 to host ftp.drupal.org left intact
    curl: (23) Failure writing output to destination
    
    
  • curl: (23) Failure writing output to destination

    Adding | file to a curl command is unusual. The correct syntax for file output is -o filename. filename must by writable by your shell user.

  • πŸ‡ΊπŸ‡ΈUnited States drumm NY, US

    I added | file -, with a dash, to confirm the response was a zip format file, rather than an HTML error page.

    With the - left off, that part did error out. But curl does confirm a successful 200 response. So most likely the request is delivering everything as expected from the server to curl.

    Somehow something else is happening with composer. I don’t expect composer to cache a 404, can try with --no-cache to be sure. Otherwise can you confirm you are running both commands in the same server/environment? Does adding -vvv verbosity to the composer command provide any more details?

  • Indeed | file - is fine but | file is actually a curl usage error.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    @drumm:
    Tested using the link on the IS from 2 different devices (on same connection) using different browsers (not curl).

    Received 404 from NGINX multiple times. Tried to open network console and obtain a useful connection header however by that time when refreshing the file started to download.

    Part of ongoing CDN purge problems?

  • πŸ‡ΊπŸ‡ΈUnited States drumm NY, US

    https://ftp.drupal.org/files/projects/webform-6.2.7.zip will never change, so it isn’t purged.

  • Status changed to Needs work 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Triggered this again in a browser:

    Not working:

    GET /files/projects/webform-6.2.7.zip HTTP/2
    Host: ftp.drupal.org
    User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate, br, zstd
    Connection: keep-alive
    Cookie: <redacted>
    Upgrade-Insecure-Requests: 1
    Sec-Fetch-Dest: document
    Sec-Fetch-Mode: navigate
    Sec-Fetch-Site: none
    Sec-Fetch-User: ?1
    Priority: u=0, i
    Pragma: no-cache
    Cache-Control: no-cache
    TE: trailers
    
    
    
    HTTP/2 404 
    server: nginx
    content-type: text/html
    content-encoding: gzip
    via: 1.1 varnish, 1.1 varnish
    accept-ranges: bytes
    date: Fri, 20 Sep 2024 01:07:44 GMT
    age: 2186019
    x-served-by: cache-bfi-krnt7300060-BFI, cache-lax-kwhp1940124-LAX
    x-cache: HIT, HIT
    x-cache-hits: 308, 6
    x-timer: S1726794464.218207,VS0,VE0
    vary: Accept-Encoding
    content-length: 107
    X-Firefox-Spdy: h2
    

    Working:

    GET /files/projects/webform-6.2.7.zip HTTP/2
    Host: ftp.drupal.org
    User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate, br, zstd
    Connection: keep-alive
    Cookie: <redacted, but same as above>
    Upgrade-Insecure-Requests: 1
    Sec-Fetch-Dest: document
    Sec-Fetch-Mode: navigate
    Sec-Fetch-Site: none
    Sec-Fetch-User: ?1
    Priority: u=0, i
    Pragma: no-cache
    Cache-Control: no-cache
    
    
    
    HTTP/2 200 
    server: nginx
    content-type: application/zip
    last-modified: Fri, 19 Jul 2024 21:40:43 GMT
    etag: "669add5b-683031"
    via: 1.1 varnish, 1.1 varnish
    accept-ranges: bytes
    age: 2043385
    date: Fri, 20 Sep 2024 01:12:03 GMT
    x-served-by: cache-bfi-krnt7300060-BFI, cache-dfw-kdal2120025-DFW
    x-cache: HIT, HIT
    x-cache-hits: 14, 0
    x-timer: S1726794723.312601,VS0,VE2
    content-length: 6828081
    X-Firefox-Spdy: h2
    
Production build 0.71.5 2024