Installomator: Authy Desktop fails to install

Here is the output of the script:

2021-11-08 11:42:44 authydesktop ################## Start Installomator v. 0.7.0
2021-11-08 11:42:44 authydesktop ################## authydesktop
2021-11-08 11:42:44 authydesktop BLOCKING_PROCESS_ACTION=tell_user
2021-11-08 11:42:44 authydesktop NOTIFY=success
2021-11-08 11:42:44 authydesktop LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-08 11:42:44 authydesktop no blocking processes defined, using Authy Desktop as default
2021-11-08 11:42:44 authydesktop Changing directory to /Library/Application Support/JAMF/tmp
2021-11-08 11:42:45 authydesktop App(s) found: 
2021-11-08 11:42:45 authydesktop could not find Authy Desktop.app
2021-11-08 11:42:45 authydesktop appversion: 
2021-11-08 11:42:45 authydesktop Latest version of Authy Desktop is 1.9.0
2021-11-08 11:42:45 authydesktop Downloading https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy to Authy Desktop.dmg
2021-11-08 11:42:45 authydesktop error downloading https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy
2021-11-08 11:42:45 authydesktop DEBUG mode, not reopening anything
2021-11-08 11:42:45 authydesktop ################## End Installomator, exit code 2 

I suspect this is due to the download URL issuing a 302 redirect to Location: https://s3.amazonaws.com/authy-electron-repository-production/authy/stable/1.9.0/darwin/x64/Authy Desktop-1.9.0.dmg for this particular version

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Hey guys. I just observed exactly the same issue (running via Jamf Pro). However, the URL works just fine when using a web browser.

$ sudo jamf policy -verbose
 verbose: JAMF binary already symlinked
 verbose: Checking for an existing instance of this application...
Checking for policies triggered by "recurring check-in" for user "buehler"...
 verbose: Checking for active ethernet connection...
 verbose: No active ethernet connection found...
 verbose: Removing any cached policies for this trigger.
 verbose: Parsing servers...
 verbose: Parsing Policy Authy updated (400)...
 verbose: The Management Framework Settings are up to date.
 verbose: Found 1 matching policies.
Executing Policy Authy updated
 verbose: Copying script to temp directory...
 verbose: Determining script type...
Running script Installomator.zsh...
Script exit code: 2
Script result: 2021-11-17 16:37:34  shifting arguments for Jamf
2021-11-17 16:37:34 authydesktop setting variable from argument DEBUG=0
2021-11-17 16:37:34 authydesktop setting variable from argument LOGO="/usr/local/SWITCH/resources/foldericons/kiosk.icns"
2021-11-17 16:37:34 authydesktop setting variable from argument NOTIFY=success
2021-11-17 16:37:34 authydesktop setting variable from argument BLOCKING_PROCESS_ACTION=prompt_user
2021-11-17 16:37:34 authydesktop ################## Start Installomator v. 0.8.0
2021-11-17 16:37:34 authydesktop ################## authydesktop
2021-11-17 16:37:35 authydesktop BLOCKING_PROCESS_ACTION=prompt_user
2021-11-17 16:37:35 authydesktop NOTIFY=success
2021-11-17 16:37:35 authydesktop LOGO=/usr/local/SWITCH/resources/foldericons/kiosk.icns
2021-11-17 16:37:35 authydesktop no blocking processes defined, using Authy Desktop as default
2021-11-17 16:37:35 authydesktop Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.biGNVfpW
2021-11-17 16:37:35 authydesktop App(s) found: /Applications/Authy Desktop.app
2021-11-17 16:37:35 authydesktop found app at /Applications/Authy Desktop.app, version 1.8.4
2021-11-17 16:37:35 authydesktop appversion: 1.8.4
2021-11-17 16:37:35 authydesktop Latest version of Authy Desktop is 1.9.0
2021-11-17 16:37:35 authydesktop Downloading https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy to Authy Desktop.dmg
2021-11-17 16:37:36 authydesktop error downloading https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy
2021-11-17 16:37:36 authydesktop Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.biGNVfpW
2021-11-17 16:37:36 authydesktop App not closed, so no reopen.
2021-11-17 16:37:36 authydesktop ################## End Installomator, exit code 2