Installation of some MATLAB Support Packages fails with “Download Error” message (1741173)

Last Copied from MathWorks website: 09 Mar 2018

Description

When you attempt to install some MATLAB Support Packages from the Add-On Explorer, the installation fails and prompts you to contact MathWorks Technical Support.

The detailed error message indicates:

“Download Error: There was a problem downloading the third-party software. To resolve this issue, contact Technical Support”

and the log file indicates: “Received fatal alert: protocol_version”

Workaround

The attached workaround changes the default HTTPS protocol of the Java version used by MATLAB to TLSv1.2.

Attachments

Please download the patch files from the MathWorks website:
https://www.mathworks.com/support/bugreports/1741173

Installation instructions

  1. Log in to an account with appropriate permissions to overwrite files in your MATLAB installation. On Linux systems, this is typically the root account.
  2. Locate your MATLAB installation by typing matlabroot at the MATLAB command prompt. This folder is referred to as <MATLAB> in subsequent steps. On Mac systems, the folder name will have a .app extension, e.g. /Applications/MATLAB_R20XXa.app
  3. Exit MATLAB.
  4. Download the attached .zip file associated with this Bug Report and store the file in the <MATLAB> folder.
    • Windows Systems: You may need administrative privileges to save the .zip file in the <MATLAB> folder. To do this, open this Bug Report in a browser started in administrator mode, then from the browser save the .zip file in the <MATLAB> folder.
    • Mac Systems: If you are using Safari on a Mac, disable automatic unzipping of the downloaded file by unchecking Open Safe Files After Downloading in Preferences > General.
  5. For each file that appears in the .zip file, find the corresponding file in your existing <MATLAB> folder and make a backup of it. To see the contents of the .zip file:
    • Windows Systems: Open the .zip file and look at the contents.
    • Linux/Mac Systems: Type the following in a shell (Linux) or in a terminal window (Mac):
      unzip -l <MATLAB>/<.zip file>
      On a Mac, include the .app extension in the folder name.
  6. Extract the files from the .zip file into the <MATLAB> folder.
    • Windows Systems:
      1. Open the .zip file.
      2. Extract the contents of the file into your <MATLAB> folder. You may be prompted to provide Administrator privileges when extracting the .zip file.
    • Linux/Mac Systems: Type the following in a shell (Linux) or in a terminal window (Mac):
      cd <MATLAB>
      unzip <.zip file>

      On a Mac, include the .app extension in the folder name.
  7. Delete the .zip file in the <MATLAB> folder

Change log:

  • March 8, 2018: attachment_1741173_13b_through_17a_win64_2018-03-08.zip, attachment_1741173_13b_through_17a_glnxa64_2018-03-08.zip, attachment_1741173_13b_through_17a_maci64_2018-03-08.zip: works on R2013b through R2017a
  • February 28, 2018: attachment_1741173_16b_17a_win64_2018-02-28.zip, attachment_1741173_16b_17a_glnxa64_2018-02-28.zip, attachment_1741173_16b_17a_maci64_2018-02-28.zip: initial version