When trying to save a min instance count for the developer portal, you receive an error that there was an issue routing the message. This can be fixed by redeploying the monitoring service via the SOC.
The message in the SOC is the following:
-----------------LogMessage-----------------
IRequestReplyHandler.ProcessMessage(): An unexpected exception occurred while routing. The SOAP message being processed was:
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">urn:Apprenda.Monitoring/MonitoringService/PublishComponentChangedEvent</a:Action>
<a:MessageID>urn:uuid:92ea236d-0e44-4ae8-b106-2b6116dbd328</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<Context xmlns="urn:Apprenda.SaaSGrid" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ScopeTrail>
<ScopeDefinition>
<Id>
<value>92a4a17b-12d9-e211-be75-002522f83bab</value>
</Id>
<Type>TenantContext</Type>
</ScopeDefinition>
<ScopeDefinition>
<Id>
<value>6487d48e-6d0d-41c2-a403-47632a5f0f52</value>
</Id>
<Type>TenantContext</Type>
</ScopeDefinition>
</ScopeTrail>
<SourceInstanceId>9522145b-d5a8-42b1-bb29-685848aa0910</SourceInstanceId>
</Context>
<a:To s:mustUnderstand="1">net.pipe://localhost/services/soap12/pipe/t,r(852ca7c5-5044-4f2a-8787-0faa4b511ebb)</a:To>
</s:Header>
<s:Body>
<PublishComponentChangedEvent xmlns="urn:Apprenda.Monitoring">
<changeEvent xmlns:b="http://schemas.datacontract.org/2004/07/Apprenda.Kernel.Contracts.DataContracts.ComponentManagement" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<b:ComponentId>314df249-e330-4f26-ac00-fb0cb5cc2393</b:ComponentId>
</changeEvent>
<sourceCloudId>1</sourceCloudId>
</PublishComponentChangedEvent>
</s:Body>
</s:Envelope>
-----------------EndLogMessage-----------------
-----------------SurfaceException (System.AggregateException)-----------------
One or more errors occurred.
at Apprenda.SaaSGrid.SMART.Routing.RetryingMessageProcessor.ProcessViaBuffer(IRequestReplyForwarder forwarder, MessageBuffer buffer, Route route, ServiceEndpointDTO targetEndpoint, RouterState routerState, Int32 attempts)
at Apprenda.SaaSGrid.SMART.Routing.RetryingMessageProcessor.Process(IRequestReplyForwarder forwarder, Message message, Route route, ServiceEndpointDTO targetEndpoint, RouterState routerState)
at Apprenda.SaaSGrid.SMART.Routing.Router.HandleResponsePipeline(Message message, Route route, ServiceEndpointDTO serviceEndpoint, Message response, IRequestReplyForwarder requestReplyForwarder)
at Apprenda.SaaSGrid.SMART.Routing.Router.Apprenda.SaaSGrid.SMART.Messaging.IRequestReplyHandler.ProcessMessage(Message message)
-----------------EndSurfaceException-----------------
***Aggregated Exceptions***
-----------------SurfaceException (System.ServiceModel.CommunicationException)-----------------
The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:30:00'.
Server stack trace:
at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(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 Apprenda.SaaSGrid.SMART.Messaging.IRequestReplyForwarder.Forward(Message message)
at Apprenda.SaaSGrid.SMART.Routing.MessageProcessor.Process(IRequestReplyForwarder forwarder, Message message, Route route, ServiceEndpointDTO targetEndpoint, RouterState routerState)
at Apprenda.SaaSGrid.SMART.Routing.RetryingMessageProcessor..(Object [1])
-----------------EndSurfaceException-----------------
-----------------DeepestException (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.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
-----------------EndDeepestException-----------------
***End Aggregated Exceptions***
has inner exception System.ServiceModel.CommunicationException : 'The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:30:00'.'
-----------------DeepestException (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.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
-----------------EndDeepestException-----------------
Comments