Broken app label: citrixworspace #179

Closed
opened 2026-01-19 18:33:04 +00:00 by michael · 3 comments
Owner

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:

  • URL rejected: Port number was not a decimal number between 0 and 65535
  • Closing connection
    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:

  • URL rejected: Port number was not a decimal number between 0 and 65535
  • Closing connection
    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

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: * URL rejected: Port number was not a decimal number between 0 and 65535 * Closing connection 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: * URL rejected: Port number was not a decimal number between 0 and 65535 * Closing connection 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
michael added the application-issue label 2026-01-19 18:33:04 +00:00
Author
Owner

@dan1el127 commented on GitHub:

Looks like we already got one: https://github.com/Installomator/Installomator/pull/1948

@dan1el127 commented on GitHub: Looks like we already got one: https://github.com/Installomator/Installomator/pull/1948
Author
Owner

@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

➜  ~ urlToParse='https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external'
curl -s -L "$urlToParse"
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http&#58;&#47;&#47;www&#46;citrix&#46;com&#47;downloads&#47;workspace&#45;app&#47;mac&#47;workspace&#45;app&#45;for&#45;mac&#45;latest&#46;html" on this server.<P>
Reference&#32;&#35;18&#46;d3f00117&#46;1729035893&#46;5741eb9
<P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;18&#46;d3f00117&#46;1729035893&#46;5741eb9</P>
</BODY>
</HTML>

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

htmlDocument=$(curl -s -L $urlToParse -H 'user-agent: something')

and https://github.com/Installomator/Installomator/blob/main/Installomator.sh#L2742 becomes

htmlDocument=$(curl -fs $urlToParse -H 'user-agent: something')

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 for citrixworkspace label

@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 ``` ➜ ~ urlToParse='https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external' curl -s -L "$urlToParse" <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http&#58;&#47;&#47;www&#46;citrix&#46;com&#47;downloads&#47;workspace&#45;app&#47;mac&#47;workspace&#45;app&#45;for&#45;mac&#45;latest&#46;html" on this server.<P> Reference&#32;&#35;18&#46;d3f00117&#46;1729035893&#46;5741eb9 <P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;18&#46;d3f00117&#46;1729035893&#46;5741eb9</P> </BODY> </HTML> ``` 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 ``` htmlDocument=$(curl -s -L $urlToParse -H 'user-agent: something') ``` and https://github.com/Installomator/Installomator/blob/main/Installomator.sh#L2742 becomes ``` htmlDocument=$(curl -fs $urlToParse -H 'user-agent: something') ``` 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 for `citrixworkspace` label
Author
Owner

@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

@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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Installomator/Installomator#179