-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Description
Here is what I get (with debugging turned on) when trying to install Maven 4.0.0 RC4
Note: installing Maven 4.0.0 RC3 with SDKMan works just fine
➜ ~ sdk install maven 4.0.0-rc-4
Validate maven 4.0.0-rc-4 for darwinarm64: valid
Validation URL: https://api.sdkman.io/2/candidates/validate/maven/4.0.0-rc-4/darwinarm64
Downloading: maven 4.0.0-rc-4
In progress...
* Host api.sdkman.io:443 was resolved.
* IPv6: (none)
* IPv4: 45.55.42.78
* Trying 45.55.42.78:443...
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [25 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [5661 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
sdkman_auto_answer=false
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
* subject: CN=*.sdkman.io
* start date: Mar 26 00:00:00 2025 GMT
* expire date: Apr 10 23:59:59 2026 GMT
* subjectAltName: host "api.sdkman.io" matched cert's "*.sdkman.io"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* Connected to api.sdkman.io (45.55.42.78) port 443
* using HTTP/1.x
} [5 bytes data]
> GET /2/broker/download/maven/4.0.0-rc-4/darwinarm64 HTTP/1.1
> Host: api.sdkman.io
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [249 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [249 bytes data]
< HTTP/1.1 500 Internal Server Error
< Server: nginx/1.19.10
< Date: Sun, 13 Jul 2025 04:08:16 GMT
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host api.sdkman.io left intact
Downloaded binary to: /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.bin (HTTP headers written to: /Users/kjaeger/.sdkman/var/metadata/maven-4.0.0-rc-4.headers)
Get post-installation hook: https://api.sdkman.io/2/hooks/post/maven/4.0.0-rc-4/darwinarm64
Copy remote post-installation hook: /Users/kjaeger/.sdkman/tmp/hook_post_maven_4.0.0-rc-4.sh
No macOS ARM 64bit post-install hook found for Maven 4.0.0-rc-4.
Moving /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.bin to /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.zip
Processed binary as: /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.zip
Completed post-installation hook...
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.zip or
/Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.zip.zip, and cannot find /Users/kjaeger/.sdkman/tmp/maven-4.0.0-rc-4.zip.ZIP, period.
Stop! The archive was corrupt and has been removed! Please try installing again.
I think I have been able to trace this down as a SDKMan API server issue:
This URL: https://api.sdkman.io/2/broker/download/maven/4.0.0-rc-3/darwinarm64 works ok, gets the correct zip file
However, this URL: https://api.sdkman.io/2/broker/download/maven/4.0.0-rc-4/darwinarm64 returns a 500 error
Metadata
Metadata
Assignees
Labels
No labels