MATLAB Answers

Fatal Alert : Protocol_version ?!

133 views (last 30 days)
Ebram Habib
Ebram Habib on 23 Feb 2018
Commented: Mehdi Mch on 14 Oct 2020
i was installing the hardware package ( using the internet ) but my internet went off in the middle of it since then i can't install it ... i keep getting this message (Fatal Alert : Protocol_version) and then it says that matlab is in the middle of a downloading operation ... Thanks for your help
  8 Comments
Walter Roberson
Walter Roberson on 26 Mar 2019
That is a setenv() call that is shown. Copy the whole setenv call and paste it at the command line.

Sign in to comment.

Accepted Answer

Bui Tuan
Bui Tuan on 2 Mar 2018
Edited: Walter Roberson on 8 Mar 2018
Hello everyone.This is Mathworks's solution for this issue. I have successfully installed the support package. https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma
  4 Comments
Crystal Li
Crystal Li on 16 Mar 2019
Have you fix it? I'm facing the same error.

Sign in to comment.

More Answers (11)

David
David on 28 Feb 2018
Putting this in as an answer instead of just a comment. Sorry for the duplication.
I've received two separate responses from Mathworks:
1 - There is an outage for a number of support packages and they're working on a resolution
2- for MinGW Ad-On for 4.9.2 specifically:
We have been running into issues with the MinGW Add-On for 4.9.2 that our developers are currently investigating.
One possible workaround to the MinGW installation issue is to manually download MinGW, and link MATLAB to the installation with an environment variable. To do so, download and install MinGW from the following location: https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1309.0/tdm64-gcc-4.9.2.exe/download
Be sure to uncheck "Check for updated files on the TDM-GCC server" when running the installer to insure version 4.9.2 is installed.
Once the installation has finished, create an environment variable named MW_MINGW64_LOC, and set the location to the folder where MinGW was installed. For example, if you chose to install at the default C:\TDM-GCC-64 location, you will set the variable to "C:\TDM-GCC-64".
To set the environment variable, open the Control Panel, and go through the options System > Advanced System Settings > Advanced tab > Environment Variables. Be sure to declare the MW_MINGW64_LOC variable in the System Variables section rather than the User Variables section. After setting the variable, hit OK and Apply on all menus to have the variable assigned.
When complete, you should be able to start MATLAB and run "mex -setup" and have the MinGW compiler recognized
These instructions worked for me.
  1 Comment
David
David on 28 Feb 2018
FYI - don't include the quotes in "C:\TDM-GCC-64" when putting it into the environment variable.

Sign in to comment.


Andrés BELISARIO
Andrés BELISARIO on 3 Apr 2019
Edited: Walter Roberson on 22 Jul 2019
%% -- T H E S O L U T I O N O F Y O U R P R O B L E M I S H E R E -----
Thank you Mathworks..!!
  4 Comments
Angel Rodríguez
Angel Rodríguez on 29 Jan 2020
So much thanks, it worked perfectly!

Sign in to comment.


Tarun Cousik
Tarun Cousik on 26 Feb 2018
Ebram & David,
I'm facing the same issue. Windows 10, R2016a. Did you find a solution?
  2 Comments
POOJA Verma
POOJA Verma on 16 Jul 2018
any solution for the same issue in R2016a??

Sign in to comment.


Talbi anis
Talbi anis on 17 Mar 2020
hi guys,
you can find the solution of the problem here :
  2 Comments
Mehdi Mch
Mehdi Mch on 14 Oct 2020
Thank you so much, it works for me

Sign in to comment.


Bui Tuan
Bui Tuan on 26 Feb 2018
I have the same problem. Who can fix it?

Hamza Ramzan
Hamza Ramzan on 27 Feb 2018
I have also the same problem.

rashi
rashi on 28 Feb 2018
Same problem here.. !

Andris Kuciks
Andris Kuciks on 28 Feb 2018
Edited: Andris Kuciks on 28 Feb 2018
Same problem when trying to download support package for Raspberry PI on R2017a
  2 Comments
barnou majid
barnou majid on 19 Oct 2018
do this you will solve the probleme https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma

Sign in to comment.


Mohammed El-Sharkawy
Mohammed El-Sharkawy on 28 Feb 2018
I have the same problem!!
  1 Comment
barnou majid
barnou majid on 19 Oct 2018
do this you will solve the probleme https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma

Sign in to comment.


Junel Fronda
Junel Fronda on 28 Feb 2018
Edited: Junel Fronda on 28 Feb 2018
Same here.
Installing Arduino Support Package for MATLAB R2014b
Download Failed: Received fatal alert: protocol_version
  4 Comments
Junel Fronda
Junel Fronda on 14 Mar 2018
https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma
Worked for me. Thanks.

Sign in to comment.


Hasan
Hasan on 15 Sep 2018
Hello there. Finally, I have found a simple solution to this issue. Just you need to download the attached file, and then you must unzip the file. After that, you will find two folders; which are: bin and bugreport.
First step: open the bin folder, and copy the file that appears in it then paste it in your MATLAB folder in your C drive inside the bin folder.
The second step is that copy bugreport folder as is and paste it inside matlab folder.
Regards Hasan
  6 Comments
mohamed abdelsamad
mohamed abdelsamad on 15 Mar 2020
i have this new problem did any one have a solution

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!