-
Notifications
You must be signed in to change notification settings - Fork 605
Description
The label for Cloudflare Warp (cloudflarewarp) is failing to download the .pkg file for the app. It appears that the URL in the label (https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip) is returning a 500 error.
It is worth noting that the app can still be installed manually from the download page linked from Cloudflare's website here, but I am having trouble finding the URL on this page that points to the .pkg file. If that URL can be discovered, this should be a simple fix to update the label.
Relevant thread on this issue from the #installomator channel in the MacAdmins Slack.
Below are the logs I get when running sudo ./Installomator.sh cloudflarewarp debug=1 on version 10.6beta:
2024-07-09 09:57:00 : REQ : cloudflarewarp : ################## Start Installomator v. 10.6beta, date 2024-04-23
2024-07-09 09:57:00 : INFO : cloudflarewarp : ################## Version: 10.6beta
2024-07-09 09:57:00 : INFO : cloudflarewarp : ################## Date: 2024-04-23
2024-07-09 09:57:00 : INFO : cloudflarewarp : ################## cloudflarewarp
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : DEBUG mode 1 enabled.
2024-07-09 09:57:00 : INFO : cloudflarewarp : SwiftDialog is not installed, clear cmd file var
2024-07-09 09:57:00 : INFO : cloudflarewarp : setting variable from argument debug=1
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : name=Cloudflare_WARP
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : appName=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : type=pkgInZip
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : archiveName=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : downloadURL=https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : curlOptions=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : appNewVersion=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : appCustomVersion function: Not defined
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : versionKey=CFBundleShortVersionString
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : packageID=com.cloudflare.1dot1dot1dot1.macos
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : pkgName=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : choiceChangesXML=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : expectedTeamID=68WVV388M8
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : blockingProcesses=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : installerTool=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : CLIInstaller=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : CLIArguments=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : updateTool=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : updateToolArguments=
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : updateToolRunAsCurrentUser=
2024-07-09 09:57:00 : INFO : cloudflarewarp : BLOCKING_PROCESS_ACTION=tell_user
2024-07-09 09:57:00 : INFO : cloudflarewarp : NOTIFY=success
2024-07-09 09:57:00 : INFO : cloudflarewarp : LOGGING=DEBUG
2024-07-09 09:57:00 : INFO : cloudflarewarp : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-07-09 09:57:00 : INFO : cloudflarewarp : Label type: pkgInZip
2024-07-09 09:57:00 : INFO : cloudflarewarp : archiveName: Cloudflare_WARP.zip
2024-07-09 09:57:00 : INFO : cloudflarewarp : no blocking processes defined, using Cloudflare_WARP as default
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : Changing directory to .
2024-07-09 09:57:00 : INFO : cloudflarewarp : found packageID com.cloudflare.1dot1dot1dot1.macos installed, version 2024.3.407
2024-07-09 09:57:00 : INFO : cloudflarewarp : appversion: 2024.3.407
2024-07-09 09:57:00 : INFO : cloudflarewarp : Latest version not specified.
2024-07-09 09:57:00 : REQ : cloudflarewarp : Downloading https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip to Cloudflare_WARP.zip
2024-07-09 09:57:00 : DEBUG : cloudflarewarp : No Dialog connection, just download
2024-07-09 09:57:01 : ERROR : cloudflarewarp : error downloading https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip
2024-07-09 09:57:01 : ERROR : cloudflarewarp : File list:
2024-07-09 09:57:01 : ERROR : cloudflarewarp : File type: Cloudflare_WARP.zip: cannot open `Cloudflare_WARP.zip' (No such file or directory)
2024-07-09 09:57:01 : DEBUG : cloudflarewarp : DEBUG mode 1, not reopening anything
2024-07-09 09:57:01 : ERROR : cloudflarewarp : ERROR: Error downloading https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip error:
* Host 1111-releases.cloudflareclient.com:443 was resolved.
* IPv6: (none)
* IPv4: 104.16.80.230, 104.17.143.163
* Trying 104.16.80.230:443...
* Connected to 1111-releases.cloudflareclient.com (104.16.80.230) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [339 bytes data]
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* (304) (IN), TLS handshake, Unknown (8):
{ [19 bytes data]
* (304) (IN), TLS handshake, Certificate (11):
{ [4180 bytes data]
* (304) (IN), TLS handshake, CERT verify (15):
{ [80 bytes data]
* (304) (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* (304) (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
* subject: CN=cloudflareclient.com
* start date: May 17 00:12:19 2024 GMT
* expire date: Aug 15 00:12:18 2024 GMT
* subjectAltName: host "1111-releases.cloudflareclient.com" matched cert's "*.cloudflareclient.com"
* issuer: C=US; O=Let's Encrypt; CN=E1
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: 1111-releases.cloudflareclient.com]
* [HTTP/2] [1] [:path: /mac/Cloudflare_WARP.zip]
* [HTTP/2] [1] [user-agent: curl/8.6.0]
* [HTTP/2] [1] [accept: */*]
> GET /mac/Cloudflare_WARP.zip HTTP/2
> Host: 1111-releases.cloudflareclient.com
> User-Agent: curl/8.6.0
> Accept: */*
>
< HTTP/2 500
< date: Tue, 09 Jul 2024 15:57:01 GMT
< content-type: text/plain;charset=UTF-8
< content-length: 27
< set-cookie: __cf_bm=0juMYSU7cj50HsEEip7W_IuiqQBaMNZqQreFg98938Q-1720540621-1.0.1.1-clBrImhY3TxxHfEcAglR8OLjwdUSzm_qhEP7VRKVnh7ULLHwW0njvlRavpxjoGCOVqsp4MU5VJ82muxp2Bx64Q; path=/; expires=Tue, 09-Jul-24 16:27:01 GMT; domain=.cloudflareclient.com; HttpOnly; Secure; SameSite=None
< report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=jZvUWVOLKjz9VARVdlHofzik8jMtUroc7xwwt%2BU1reSoltB4VwsaTXgkePgKcqh3aUPFJXolhWdwRR94SddHOEy6pi5kzQv5RoWN9CAFzym%2BDVGkOeQBHAmLsKMCafpxN927ojrfLTES5f5V0IEvbDT1Pqw%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 8a0981e088232b2a-SLC
* The requested URL returned error: 500
* Connection #0 to host 1111-releases.cloudflareclient.com left intact
curl: (22) The requested URL returned error: 500
2024-07-09 09:57:01 : REQ : cloudflarewarp : ################## End Installomator, exit code 2
Any assistance here would be appreciated, and I am happy to submit a PR myself once a fix has been identified. Thanks in advance!