MATLAB 2018a proxy settings for downloading add-ons

15 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
Edited: 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.

More Answers (3)

muzammil  AHMAD
muzammil AHMAD on 2 Oct 2021

muzammil  AHMAD
muzammil AHMAD on 2 Oct 2021

donier vask
donier vask on 23 May 2022
Proxy server is an intermediary server between client and the internet. This error is a browser-based error, which can occur on any Windows OS version when there are some problems with proxy settings. This error means your browser is not able to connect to the internet because of the proxy connection. Either you have invalid proxy connection or configuration of proxy is controlled by the third party.
Proxy server is a medium that connects the home network or IP with the online service / external sites. Proxy does not create a direct connection to the Internet but rather establishes a connection through several servers and, therefore, disguise people’s IP addresses and other browsing-related information. ERR_PROXY_CONNECTION_FAILED because, if the IP / Proxy is configured incorrectly or gets damaged during some system's configuration procedures. So, first you have to make sure you've an active internet connection and try from different browser perhaps.
Also, you can usually solve this issue with the following steps:
  • Changing Proxy Settings
  • Renew IP address
  • Delete Proxy Server Registry Key
  • Reset TCP/IP

Community Treasure Hunt

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

Start Hunting!