Everything was working fine till I changed the service that make the request to add more logging and all of a sudden getting the following error message for all request. Any idea what might be the issue.
get this on the service log file
MassTransit.RequestFaultException: The RAP45.MT.LVT.Contract.IFXLVApproveRequest request faulted: Error getting value from 'ReplyToAddress' on 'RabbitMQ.Client.Framing.BasicProperties'.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at MassTransit.MessageRequestClient`2.<MassTransit-IRequestClient<TRequest\,TResponse>-Request>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at AB.OMS.CashMgt.Service.CashMgtService.<>c__DisplayClass52_1.<<ApproveRejectFXToLV>b__0>d.MoveNext()
And following on the error queue
| Content-Type: |
application/vnd.masstransit+json |
| MT-Reason: |
fault |
| MT-Fault-Message: |
Value cannot be null. Parameter name:
input |
| MT-Fault-StackTrace: |
at
System.Text.RegularExpressions.Regex.Match(String input) at
RabbitMQ.Client.PublicationAddress.Parse(String uriLikeString) at
GetReplyToAddress(Object ) at
Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object
target) |
| MT-Host-MachineName: |
W08D0004 |
| MT-Host-ProcessName: |
MT.ConsumerService |
| MT-Host-ProcessId: |
33488 |
| MT-Host-Assembly: |
MT.ConsumerService |
| MT-Host-AssemblyVersion: |
1.0.0.0 |
| MT-Host-MassTransitVersion: |
3.0.15.258 |
| MT-Host-FrameworkVersion: |
4.0.30319.18063 |
| MT-Host-OperatingSystemVersion: |
Microsoft Windows NT 6.1.7601 Service Pack
1 | |
| content_type: |
application/vnd.masstransit+json |
payload
{
"messageId": "10ae0000-d1ea-78e7-cff8-08d38972d4da",
"requestId": "10ae0000-d1ea-78e7-6123-08d38972d4da",
"conversationId": "10ae0000-d1ea-78e7-d733-08d38972d4da",
"sourceAddress": "rabbitmq://raprabbitmqqa:5672/bus-W08D0004-AB.CashMgt.Host-nnzyyygt7jhqx5hxbdja1hswgo?durable=false&autodelete=true&prefetch=16",
"destinationAddress": "rabbitmq://raprabbitmqqa/FXLVApprovalQueue",
"responseAddress": "rabbitmq://raprabbitmqqa:5672/bus-W08D0004-AB.CashMgt.Host-nnzyyygt7jhqx5hxbdja1hswgo?durable=false&autodelete=true&prefetch=16",
"messageType": [
"urn:message:RAP45.MT.LVT.Contract:IFXLVApproveRequest"
],
"message": {
"requestId": "0eccb515-d84d-4404-afab-676d155f2de1",
"fxOrder": {
"status": "Rejected",
"gtmNearTranID": "RAP404072",
"approvalLevel": 1
},
"approve": 2
},
"headers": {},
"host": {
"machineName": "W08D0004",
"processName": "AB.CashMgt.Host",
"processId": 31712,
"assembly": "AB.GenericWCFHost",
"assemblyVersion": "1.0.0.0",
"frameworkVersion": "4.0.30319.18063",
"massTransitVersion": "3.0.15.258",
"operatingSystemVersion": "Microsoft Windows NT 6.1.7601 Service Pack 1"
}
}
THanks