Debugger connection on cloud

0
Hello there.. Recently I tried connecting the debugger of an application which is hosted on the cloud.    One thing which I noticed is for application that are on 9.6.10, I'm unable to connect the debugger. But when trying for applications that are on 9.18.24 and above is not the same.   Did you by any chance came across this scenario.   Error : System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)   at System.Net.HttpWebRequest.GetRequestStream()   at Mendix.Modeler.Microflows.Debugger.DebuggerClient.DoHttpRequest(String url, SecureString password, String userAgent, String json, Int32 timeout) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 194   at Mendix.Modeler.Microflows.Debugger.DebuggerClient.PerformRequest(DebuggerRequest request, Int32 timeout) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 160   at Mendix.Modeler.Microflows.Debugger.DebuggerClient.StartSession(IEnumerable`1 breakpoints) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 56   at Mendix.Modeler.Microflows.Debugger.DebuggerController.StartDebugging(String url, SecureString password, ConnectionMode mode) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerController.cs:line 89   at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 29   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)   Thanks in advance!
asked
3 answers
0

Remote debugging is limited for cloud-deployed apps in older Mendix versions like 9.6.x. In newer versions (9.18.x and above), cloud runtime improvements allow debugger connections. Also, please check that your user has the required access rights to connect the debugger, as missing permissions can prevent the connection even in supported versions.

Official documentation: https://docs.mendix.com/refguide/debug-microflows-remotely/

answered
0

Can you check if  TLS 1.2 is enabled in Windows Internet Options (Advanced)? 

 

I never noticed this issue. If its not production app, then better to upgrade to LTS version of 9. 

 

answered
-1

As an additional check, make sure the environment is running with exactly one instance.

Remote debugging is not supported on replica nodes, so if the environment is scaled to more than one instance, the debugger will fail to attach. Temporarily scale the environment down to 1 instance, apply the change, wait for the restart to complete, and then try connecting the debugger again.

answered