Mendix 11.12 - error debugger

0
Hi guys,I was just testing mendix 11.12 and after a while it started to show an error whenever I run locally the project (see below).It can run locally, but I'm unable to debug the project.Any thoughs?Mendix.Modeler.Utility.Network.ServiceResponseException: An error occurred while processing the response from the Debugger. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.HttpIOException: The response ended prematurely. (ResponseEnded) at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, TokenImpersonationLevel impersonationLevel, Boolean isProxyAuth, HttpConnection connection, HttpConnectionPool connectionPool, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Mendix.Modeler.Utility.Network.GenericHttpClient.DoRequestAsync(HttpMethod httpMethod, Uri uri, IEnumerable`1 headers, String jsonContent, CancellationToken cancellationToken) in Mendix.Modeler.Utility\Network\Http\GenericHttpClient.cs:line 158 at Mendix.Modeler.Utility.Network.GenericHttpClient.DoRequestWithProxyAsync(HttpMethod httpMethod, Uri uri, IReadOnlyList`1 headers, String jsonContent, CancellationToken cancellationToken) in Mendix.Modeler.Utility\Network\Http\GenericHttpClient.cs:line 134 at Mendix.Modeler.Utility.Network.GenericHttpClient.DoRequestSafeAsync[T](HttpMethod httpMethod, Uri uri, IEnumerable`1 headers, String jsonContent, Func`2 processResponse, CancellationToken cancellationToken) in Mendix.Modeler.Utility\Network\Http\GenericHttpClient.cs:line 92 --- End of inner exception stack trace --- at Mendix.Modeler.Debugger.Runtime.DebuggerClient.HandleRequestFailure(Exception requestException) in Mendix.Modeler.Debugger\Runtime\DebuggerClient.cs:line 198 at Mendix.Modeler.Debugger.Runtime.DebuggerClient.DoHttpRequestAsync(DebuggerRequest debugRequest, CancellationToken cancellationToken, Int32 timeout) in Mendix.Modeler.Debugger\Runtime\DebuggerClient.cs:line 186 at Mendix.Modeler.Debugger.Runtime.DebuggerClient.PerformRequest(DebuggerRequest request, Int32 timeout) in Mendix.Modeler.Debugger\Runtime\DebuggerClient.cs:line 168 at Mendix.Modeler.Debugger.Runtime.Messages.DebuggerRequest.Execute(Int32 timeout) in Mendix.Modeler.Debugger\Runtime\Messages\DebuggerRequest.cs:line 57 at Mendix.Modeler.Debugger.Runtime.DebuggerClient.StartSession(IEnumerable`1 breakpoints) in Mendix.Modeler.Debugger\Runtime\DebuggerClient.cs:line 63 at Mendix.Modeler.Debugger.Runtime.DebuggerController.StartDebugging(String url, SecureString password, ConnectionMode mode, IEnumerable`1 breakpoints) in Mendix.Modeler.Debugger\Runtime\DebuggerController.cs:line 93 at Mendix.Modeler.Debugger.View.DebuggerUI.<>c__DisplayClass67_0.<StartDebugging>b__1() in Mendix.Modeler.Debugger\View\DebuggerUI.cs:line 324 at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in Mendix.Modeler.Utility\BackgroundUtil.cs:line 36 at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
1 answers
0

Hi Andre,

This looks like a Studio Pro/Debugger communication issue rather than an issue with your application.


A few things I'd check:

  • Try Clean Deployment Directory and run the application again.
  • Verify that no firewall, proxy, or antivirus is blocking the local debugger connection.
  • Check if another process is already using the debugger/runtime port.
  • If the project runs normally but only debugging fails, try creating a new blank project in 11.12 and see if the debugger works there.


Since this started after upgrading to 11.12 and the application still runs locally, it could also be a regression in Studio Pro. If the issue is reproducible in a clean project, I'd recommend raising a Mendix Support ticket with the stack trace.


Kindly mark this as the accepted answer if it helps.

answered