mirror of
https://github.com/Installomator/Installomator.git
synced 2026-03-03 09:22:02 +00:00
Broken app label: citrixworspace #179
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @midiman1000 on GitHub.
What's wrong with the app label?
There seems to be an error with downloading the app correctly.
Installomator version
10.6
Additional context
Installomator log
2024-10-13 16:57:29 : REQ : citrixworkspace : ################## Start Installomator v. 10.6, date 2024-08-30
2024-10-13 16:57:29 : INFO : citrixworkspace : ################## Version: 10.6
2024-10-13 16:57:29 : INFO : citrixworkspace : ################## Date: 2024-08-30
2024-10-13 16:57:29 : INFO : citrixworkspace : ################## citrixworkspace
2024-10-13 16:57:30 : INFO : citrixworkspace : setting variable from argument DEBUG=1
2024-10-13 16:57:30 : INFO : citrixworkspace : BLOCKING_PROCESS_ACTION=tell_user
2024-10-13 16:57:30 : INFO : citrixworkspace : NOTIFY=success
2024-10-13 16:57:30 : INFO : citrixworkspace : LOGGING=INFO
2024-10-13 16:57:30 : INFO : citrixworkspace : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-10-13 16:57:30 : INFO : citrixworkspace : Label type: pkgInDmg
2024-10-13 16:57:30 : INFO : citrixworkspace : archiveName: Citrix Workspace.dmg
2024-10-13 16:57:30 : INFO : citrixworkspace : no blocking processes defined, using Citrix Workspace as default
2024-10-13 16:57:30 : INFO : citrixworkspace : App(s) found: /Applications/Citrix Workspace.app
2024-10-13 16:57:30 : INFO : citrixworkspace : found app at /Applications/Citrix Workspace.app, version 24.09.0.54, on versionKey CitrixVersionString
2024-10-13 16:57:30 : INFO : citrixworkspace : appversion: 24.09.0.54
2024-10-13 16:57:30 : INFO : citrixworkspace : Latest version not specified.
2024-10-13 16:57:30 : REQ : citrixworkspace : Downloading https: to Citrix Workspace.dmg
2024-10-13 16:57:30 : ERROR : citrixworkspace : error downloading https:
2024-10-13 16:57:30 : ERROR : citrixworkspace : File list:
2024-10-13 16:57:30 : ERROR : citrixworkspace : File type: Citrix Workspace.dmg: cannot open `Citrix Workspace.dmg' (No such file or directory)
2024-10-13 16:57:30 : ERROR : citrixworkspace : ERROR: Error downloading https: error:
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
2024-10-13 16:57:30 : REQ : citrixworkspace : ################## End Installomator, exit code 2
2024-10-13 16:58:23 : REQ : citrixworkspace : ################## Start Installomator v. 10.6, date 2024-08-30
2024-10-13 16:58:23 : INFO : citrixworkspace : ################## Version: 10.6
2024-10-13 16:58:23 : INFO : citrixworkspace : ################## Date: 2024-08-30
2024-10-13 16:58:23 : INFO : citrixworkspace : ################## citrixworkspace
2024-10-13 16:58:24 : INFO : citrixworkspace : setting variable from argument DEBUG=1
2024-10-13 16:58:24 : INFO : citrixworkspace : BLOCKING_PROCESS_ACTION=tell_user
2024-10-13 16:58:24 : INFO : citrixworkspace : NOTIFY=success
2024-10-13 16:58:24 : INFO : citrixworkspace : LOGGING=INFO
2024-10-13 16:58:24 : INFO : citrixworkspace : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-10-13 16:58:24 : INFO : citrixworkspace : Label type: pkgInDmg
2024-10-13 16:58:24 : INFO : citrixworkspace : archiveName: Citrix Workspace.dmg
2024-10-13 16:58:24 : INFO : citrixworkspace : no blocking processes defined, using Citrix Workspace as default
2024-10-13 16:58:24 : INFO : citrixworkspace : App(s) found: /Applications/Citrix Workspace.app
2024-10-13 16:58:24 : INFO : citrixworkspace : found app at /Applications/Citrix Workspace.app, version 24.09.0.54, on versionKey CitrixVersionString
2024-10-13 16:58:24 : INFO : citrixworkspace : appversion: 24.09.0.54
2024-10-13 16:58:24 : INFO : citrixworkspace : Latest version not specified.
2024-10-13 16:58:24 : REQ : citrixworkspace : Downloading https: to Citrix Workspace.dmg
2024-10-13 16:58:24 : ERROR : citrixworkspace : error downloading https:
2024-10-13 16:58:24 : ERROR : citrixworkspace : File list:
2024-10-13 16:58:24 : ERROR : citrixworkspace : File type: Citrix Workspace.dmg: cannot open `Citrix Workspace.dmg' (No such file or directory)
2024-10-13 16:58:24 : ERROR : citrixworkspace : ERROR: Error downloading https: error:
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
2024-10-13 16:58:24 : REQ : citrixworkspace : ################## End Installomator, exit code 2
@dan1el127 commented on GitHub:
Looks like we already got one: https://github.com/Installomator/Installomator/pull/1948
@dan1el127 commented on GitHub:
I have the same issue.
Looks like it is blocking the request to get the download URL if the user agent is
curl*.https://github.com/Installomator/Installomator/blob/main/Installomator.sh#L2734-L2738
From my testing anything in the user agent header works even random chars.
So the fix would be adding a user agent header: https://github.com/Installomator/Installomator/blob/main/Installomator.sh#L2736 becomes
and https://github.com/Installomator/Installomator/blob/main/Installomator.sh#L2742 becomes
I am happy to pop through a PR for this, but would need clarification on what user agent to use
As a temp fix if you are reading this and want to patch your Installomater script, you just need to add
-H 'user-agent: something'to the two curl requests forcitrixworkspacelabel@alexkcal commented on GitHub:
Also just started noticing the exit code 2: Download Error for citrixworkspace. From my logs, I can see the last success download was on 10/6/24 and then first failed one was on 10/10/24, so my guess is that maybe something changed on the Citrix side of things at some point during that time span