SOAP API Call returns Message: Message is closed.

Levii
Member Posts: 1
Hi All,
I encountered a very strange situation for a customer.
We have a live VM running on azure. Which has 4vCPU's.
On this VM we have 6 BC 17.0 instances.
We have split up the services for the functionality so 3 of them are SOAP API services.
Every time the server reboots after .net updates our 3th party receives the SOAP Message is closed.
Normally this is fixed again by rebooting the server but lately the issue starts at random moments aswel.
The difference is now that in the error I see the following line: Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest
Environment Name:
Environment Type:
User:
Type: System.ObjectDisposedException
Message: Message is closed.
StackTrace:
at System.ServiceModel.Channels.BufferedMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.AfterReceiveRequestCore(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Source: System.ServiceModel
HResult: -2146232798
StackTrace:
at System.ServiceModel.Channels.BufferedMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.AfterReceiveRequestCore(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Anyone has an idea what this could be?
I encountered a very strange situation for a customer.
We have a live VM running on azure. Which has 4vCPU's.
On this VM we have 6 BC 17.0 instances.
We have split up the services for the functionality so 3 of them are SOAP API services.
Every time the server reboots after .net updates our 3th party receives the SOAP Message is closed.
Normally this is fixed again by rebooting the server but lately the issue starts at random moments aswel.
The difference is now that in the error I see the following line: Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest
Environment Name:
Environment Type:
User:
Type: System.ObjectDisposedException
Message: Message is closed.
StackTrace:
at System.ServiceModel.Channels.BufferedMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.AfterReceiveRequestCore(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Source: System.ServiceModel
HResult: -2146232798
StackTrace:
at System.ServiceModel.Channels.BufferedMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.SOAP.SoapThrottlerDispatchMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.AfterReceiveRequestCore(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Anyone has an idea what this could be?
0
Answers
-
We are getting the same error, did you find a solution?0
-
For anyone else who finds this. I've just seen this error again at the same customer as last time. Previously we fixed it by increasing the server from a B2ms to a B4ms. It appears to be related to this issue: https://github.com/microsoft/AL/issues/6047
I've not found why the error has come back yet.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions