Why do I get a connection error when installing or activating MATLAB or other MathWorks products?
Mostrar comentarios más antiguos
I get an error that I cannot connect to MathWorks when running the MathWorks installer or the activation client; however, I can access the website. Why can't the MathWorks Installer or activation client connect to the MathWorks?
Connection Error
The application could not connect to MathWorks.
For more information on resolving this issue, see this Support Article.
Respuesta aceptada
Más respuestas (7)
Sean
el 30 de Jul. de 2014
24 votos
When I received this error, it was not due to proxy settings or firewall settings. Rather, when I downloaded the installer, the download location was on a remote drive (a windows remote profile DFS location). I copied the setup file to the local drive, and it ran fine.
1 comentario
Walter Roberson
el 24 de En. de 2020
Try looking in ~/Downloads/MathWorks/R2019b/ perhaps? That is where the installer tosses the installation program and archives .
Yehya Jebbaoui
el 28 de Sept. de 2017
22 votos
Turn off the Wifi of the institution you are in, then turn on Mobile hotspot on your phone to share the mobile connection (if you have 3G or 4G). You will pass the first steps and it will start downloading. When it starts downloading, switch to the wifi. It worked for me.
Brett Hansell
el 8 de Oct. de 2019
22 votos
- Under System Variables, select New.
- Set the first variable name "JAVA_TOOL_OPTIONS" with the value of "-Djava.net.preferIPv4Stack=true" (enter these without the quotation marks)
- select New again.
- Set the second variable name "JAVA_OPTIONS" with the value of "-Djava.net.preferIPv4Stack=true" (enter these without the quotation marks) and click on OK
- Click OK again on the previous screen and try the installer again.
Gregg Casey
el 29 de Dic. de 2017
16 votos
Had the same problem on my Mac and I have never had a problem like this on a Mac since I have used them. (Probably more than 8 years.) My laptop did not have the firewall turned on at all during all attempts. So this is probably just badly written software from Mathworks. What worked for me is to use my hotspot. That is all I changed - connect to my Karma hotspot and click "Next" again. Done. Note that I first did the same after connecting to my iPhone as a hotspot and that did not work. (Just clicked "next" and got the same error message.) However, that could have been that my phone was having a connection issue.
Mathworks- please look into this issue and fix it. The software should not require special proxy settings.
khalid Houhou
el 28 de Feb. de 2018
10 votos
I had this issue and it was not related to any network or connection. It was caused by a Malware I had in my PC called relevantknowledge. I uninstall it and it worked.
Jan
el 14 de Mzo. de 2019
3 votos
Create the two environment variables
- "JAVA_TOOL_OPTIONS" with the value "-Djava.net.preferIPv4Stack=true"
- "JAVA_OPTIONS" with the value "-Djava.net.preferIPv4Stack=true"
Run the installer. Afterwards the variables can be removed.
Walter Roberson
el 17 de Abr. de 2021
2 votos
Data point for MacOS Catalina:
I have not had difficulty downloading or authenticating to Mathworks until just now. I was installing R2017b onto MacOS Catalina; the download worked, but when I went to register the license, it gave me an error message (that linked to this topic.)
I looked in MacOS security settings, and reviewed everything, but did not find anything relevant. I did happen to notice that my Kensington Trackball manager was blocked from accessing the network, so I authorized that, but I really doubt that made any difference.
I went back to try the authentication again, and this time it worked without problem.
I don't think authorizing the trackball was at all relevant; I think it was just the trying again that made the difference.
2 comentarios
Walter Roberson
el 25 de Abr. de 2021
I just had the same problem for R2016a -- first authentication attempt said that it could not connect to Mathworks, second authentication attempt worked fine.
Walter Roberson
el 2 de En. de 2025
I have have since had this difficulty a number of times: the first authentication attempt for registering fails, but the second one succeeds.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
