Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citrix Workspace Fails to download #160

Open
kingpocket opened this issue Oct 9, 2024 · 2 comments
Open

Citrix Workspace Fails to download #160

kingpocket opened this issue Oct 9, 2024 · 2 comments

Comments

@kingpocket
Copy link

I've been using this script successfully for over a year, but downloads have been failing since yesterday.

https://github.com/microsoft/shell-intune-samples/blob/master/macOS/Apps/Citrix%20Workspace/installICitrixWorkspace.sh

[/Library/Logs/Microsoft/IntuneScripts/Citrix Workspace] to store logs

##############################################################

Wed Oct 9 11:15:23 EDT 2024 | Logging install of [Citrix Workspace] to [/Library/Logs/Microsoft/IntuneScripts/Citrix Workspace/Citrix Workspace.log]

############################################################

Wed Oct 9 11:15:23 EDT 2024 | Checking if we need to install or update [Citrix Workspace]
Wed Oct 9 11:15:23 EDT 2024 | [Citrix Workspace] not installed, need to download and install
Wed Oct 9 11:15:23 EDT 2024 | Dock is here, lets carry on
Wed Oct 9 11:15:23 EDT 2024 | Starting downlading of [Citrix Workspace]
Wed Oct 9 11:15:23 EDT 2024 | Waiting for other [curl -f] processes to end
Wed Oct 9 11:15:23 EDT 2024 | No instances of [curl -f] found, safe to proceed
Wed Oct 9 11:15:23 EDT 2024 | Downloading Citrix Workspace [https:]
Wed Oct 9 11:15:23 EDT 2024 | Failure to download [https:] to []

@schoebelh
Copy link

Exactly the same here :-/

@schoebelh
Copy link

Adding browser agent string as quick fix does the job for me...

latestver=curl -s -L https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external | grep "<h1>Citrix " | awk '{print $4}'

< latestver=curl -s -A "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15" -L https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external | grep "<h1>Citrix " | awk '{print $4}'

url2=curl -s -L https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external | grep dmg | sed -n 's/.*rel="//;s/".*//p' | head -n2 | tail -n1

< url2=curl -s -A "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15" -L https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external | grep dmg | sed -n 's/.*rel="//;s/".*//p' | head -n2 | tail -n1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants