Hi everyone, we are encountering this issue on a reactive application in our production environment. We have multiple zones. We encounter this on one of the zones.
We dont see the issue in our DEV environment.
An error occurred while communicating with the remote host. The error code is 0x800703E3.
The client is disconnected because the underlying request has been completed. There is no longer an HttpContext available.
Request failed with an error
It can be a lot of things. Can you provide any more information? Logs?
@Arvinder Bhalla : There was a similar case discussed @ https://www.outsystems.com/forums/discussion/69148/service-center-errors-and-data-is-not-retrieved/ back in 2021. However there is no solution on that discussion. You may please share any additional information as suggested by @Nuno Reis.
In the meantime please reach out to OutSystems support for a resolution.
Thank you Nuno and Siya. The log files do not have any more information except the error message.
-------------------------------------------------------------------------------------------------------------
The client is disconnected because the underlying request has been completed. There is no longer an HttpContext available. at System.Web.HttpBufferlessInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.Web.Http.WebHost.SeekableBufferedRequestStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at OutSystems.RESTService.Formatters.TextMediaTypeFormatter.ReadFromStreamAsync(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Net.Http.HttpContentExtensions.<ReadAsAsyncCore>d__17`1.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__18.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__12.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
Source
REST (Expose)
Message
Environment Information
eSpaceVer: Id=5848, PubId=0, CompiledWith=11.18.1.37828RequestUrl: https://apphub.oakland.local/APStaffInternalPortal/screenservices/APStaffInternalPortal/MainFlow/StaffInvoiceDashboard/ScreenDataSetGetMultipleDepartments (Method: POST)AppDomain: /LM/W3SVC/1/ROOT/APStaffInternalPortal-46-133882119315607587FilePath: D:\OutSystems\Platform Server\running\APStaffInternalPortal.1816468026\ClientIp: 10.215.5.41Locale: en-USDateFormat: MM-dd-yyyyPID: 8824 ('w3wp', Started='4/2/2025 9:47:00 PM', Priv=3184Mb, Virt=2126904Mb)TID: 245Thread Name: .NET: 4.0.30319.42000
Stack
[1] An error occurred while communicating with the remote host. The error code is 0x800703E3. at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size) at System.Web.HttpBufferlessInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.Web.Http.WebHost.SeekableBufferedRequestStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at OutSystems.RESTService.Formatters.TextMediaTypeFormatter.ReadFromStreamAsync(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Net.Http.HttpContentExtensions.d__17`1.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.ModelBinding.FormatterParameterBinding.d__18.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Controllers.HttpActionBinding.d__12.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext()[2] The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
@Arvinder Bhalla : There is a reference to https://apphub.oakland.local/APStaffInternalPortal/screenservices/APStaffInternalPortal/MainFlow/StaffInvoiceDashboard/ScreenDataSetGetMultipleDepartments in your log message. Does "GetMultipleDepartments" refers to any REST APIs to get the data and that's getting time out causing this error ?
Data is coming straight from the aggregate and I have also increased the timeout for the query.
Ok.. Got it. btw Does this aggregate executes successfully and returns data ? Are there any issues connecting to DB from this frontend ? Any errors /. warning logged in the database ?
No errors in the database.yes, the aggregate executes successfully and returns data as well.
Hello @Arvinder Bhalla, Please check if this process starts from a screen or client action. I have encountered a situation where the request began from a screen action and received an error pattern similar to what you described.
Screen and client actions in React should have a timeout of 10 seconds, and since your call takes longer, it will be interrupted.
You mentioned that you have already increased the timeout of the aggregate, but I believe the issue might be with the screen action. Try implementing that logic in a data action, which can indeed have more time to execute its process.
Best regards,
Thank you, let me try moving my logic to data action and see.
Hi, did this solve your issue?
Not yet, tried multiple things but still experience the error. Working with Outsystems support on it.