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 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 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!