Hi
We just upgraded to MYOB AccountRight Plus AU 2019.1.0. When we try to process the payroll we now get the error below.
![pic11.PNG]()
The diagnostics gives the details below. Please how do we resolve this?
2019-04-16 14:46:03.0884,MYOB.Huxley.UI.Decorators.DecoratorFaultProcessor,Error,1,Unhandled error. : System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to http://localhost:56668/GatewayService.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at MYOB.Huxley.Service.Proxy.Services.ProxySingleTouchPayrollContainerService.GetValidationResults(ISingleTouchPayrollContainer container)
at MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIISingleTouchPayrollContainerService.MYOB.Huxley.ApplicationServices.Container.API.ISingleTouchPayrollContainerService.GetValidationResults(ISingleTouchPayrollContainer container)
2019-04-16 14:46:03.2624,MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectEditEmployeesPay,Error,1,Sending pay event and showing STP declaration : System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to http://localhost:56668/GatewayService.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at MYOB.Huxley.Service.Proxy.Services.ProxySingleTouchPayrollContainerService.GetValidationResults(ISingleTouchPayrollContainer container)
at MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIISingleTouchPayrollContainerService.MYOB.Huxley.ApplicationServices.Container.API.ISingleTouchPayrollContainerService.GetValidationResults(ISingleTouchPayrollContainer container)
at MYOB.Huxley.UI.Model.Context.ARLive.ProcessPayrollContext.ValidatePayrunForStp(ISingleTouchPayrollReadinessCheckFilter filter)
at MYOB.Huxley.UI.Controllers.Payroll.ProcessPayroll.ARLive.SelectEditEmployeesPayController.SaveChangesProcessAllObjects(IEnumerable`1 filteredObjectsToSave)
at MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.SaveChanges(IEnumerable`1 entitiesToSave)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewBusinessObject.SaveChanges(IEnumerable`1 entitiesToSave)
at MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectEditEmployeePayHelper.MoveNext(PageLeavingEventArgs args, Func`2 onSave)
at MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectEditEmployeesPay.OnPageLeaving(PageLeavingEventArgs args)
2019-04-16 14:46:30.4051,MYOB.Huxley.UI.Decorators.DecoratorFaultProcessor,Warn,8,This error should be handled: There was no endpoint listening at http://localhost:56668/GatewayService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
2019-04-16 14:46:32.2273,MYOB.Huxley.UI.Decorators.DecoratorFaultProcessor,Warn,1,This error should be handled: There was no endpoint listening at http://localhost:56668/GatewayService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.