MATLAB 2018a proxy settings for downloading add-ons

52 views (last 30 days)
I have recently installed the computer vision toolbox(trial version) in MATLAB 2018a and it got succesfully installed. Now, I was trying to get the OpenCV interface package using the command 'visionSupportPackages' , but it is showing an Error:
'Failed to load URL https://www.mathworks.com/add-ons/loading?platform=Win64&language=en-GB&release=R2018a&docLanguage=en-US&viewer=ml_desktop&connectorUrls=%7B%22matlab%22%3A%22https%3A%2F%2Flocalhost%3A31515%2Ftoolbox%2Fmatlab%2Faddons%2FGalleryMatlabCommunicator.html%3Fsnc%3DNPUEQ9%26channelId%3D914.0%22%2C%22ssi%22%3A%22https%3A%2F%2Flocalhost%3A31515%2Fui%2Finstall%2Fsupportsoftwareclient%2Fsupportsoftwareclient%2Findex.html%3Fsnc%3DGQUOUE%22%2C%22login%22%3A%22https%3A%2F%2Flocalhost%3A31515%2Ftoolbox%2Fmatlab%2Fmatlab_login_framework%2Fweb%2Findex.html%3Fsnc%3DU00Y1M%22%7D&entitlementId=691558&licenseMode=FlexLicense&ddux=%7B%22installationId%22%3A%223084d3d9-4ab1-4c9d-86d3-8a2de08092af%22%2C%22machineHash%22%3A%22bfdd0084d7c66fc3e28d3b678becc410%22%2C%22sessionKey%22%3A%2275ee6dfd-e0b9-4740-ae57-cc7de5c8ed4f%22%7D&navigateTo=%7B%22entryPoint%22%3A%22tripwire%22%2C%22baseProducts%22%3A%5B%22VP%22%5D%7D with error ERR_PROXY_CONNECTION_FAILED (-130).'
I have checked the firewall settings in my PC and it looks fine. Can someone please help me on this? :/
I have entered the proxy server IP as 'proxy host' and the correct proxy port number also.
  1 Comment
Meera chandran
Meera chandran on 28 Aug 2018
I downloaded the support package 'opencvinterface.mlpkginstall' from mathworks, but when i click on install, it sshowing the fbelow error:
Failed to load URL https://login.mathworks.com/embedded-login/login.html?locale=en_GB with error ERR_TUNNEL_CONNECTION_FAILED (-111).
Here, I have unchecked the option 'Use a proxy server to connect to the Internet' under Matlab Web prefernces.

Sign in to comment.

Accepted Answer

Amal George M
Amal George M on 6 Sep 2018
Edited: Amal George M on 6 Sep 2018
Hi Meera,
This is probably due to network configuration issue (proxy).
Make sure that any sort of antivirus or firewall installed on the system is not blocking anything in the MATLAB installation directory. Please also confirm that there is no IP protection software (eg Symantec Data Loss Prevention) blocking communication. You may need to check with your IT, because sometimes those programs are hidden from end users (eg: Symantec DLP).
If the network setting on your machine uses an HTTP proxy, modify the network configuration to add an HTTP proxy exception. In Windows, you can do this by : Going to Control Panel -> Network settings -> Internet Options -> Connections -> LAN Settings -> turned ON "Bypass proxy server for local addresses" with "Use a proxy server for your LAN".
If a proxy server is used you could also check if it might be not properly set in MATLAB and adapt the settings. To do so: Please enter the proxy server details in the MATLAB Preferences that can be opened from the Home Tab in the MATLAB toolbar Preferences -> Web section
This should hopefully resolve the error. Remember to restart MATLAB after changing settings.

Community Treasure Hunt

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

Start Hunting!