MATLAB Answers

Why do I get the error ERR_TUNNEL​_CONNECTIO​N_FAILED (-111) when using App Designer or other web-based applications in MATLAB?

40 views (last 30 days)
I am trying to open App Designer in MATLAB R2019a. An App Designer window pops up with the following error message:
Unable to open the requested feature.
Check your internet connection and proxy settings in MATLAB Web preferences and then try starting the feature again.
Detailed information:
Error code: -111
The same error messages appears when I open Add-On Explorer.
When invoking the Documentation through the Help menu, the error message is:
Failed to load URL <...> with error ERR_TUNNEL_CONNECTION_FAILED (-111).

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Jun 2020 at 4:00
Edited: MathWorks Support Team on 3 Jun 2020 at 21:45
We have seen this issue with workflows involving web-based applications such as the Add-On Explorer, App Designer, Live Editor or Simulink Diagnostic Viewer.
The underlying reason is likely because of a proxy setting in the VPN. Please try out the following steps:
1) Disable proxy setting in MATLAB:
  • Navigate to Home > Preferences > Web.
  • Uncheck "Use a proxy server to connect to the internet".
  • Check whether this resolves the issue.
2) If you are connected to a VPN, try disabling it to see if it resolves the issue.
3) Make sure you firewall/antivirus software does not block MATLAB.
4) Upgrade your MATLAB to R2019b or later.


Sign in to comment.

Sign in to answer this question.