NServicebus: {WARN} Failed to raise transport message with identifier =

Here is the script. I am in NServiceBus 3.0.0.1504 (kernel version of dll). I get over a warning message when one of the handlers has an exception. Queues are set as DTC. The interesting thing is that although I get this warning in QA, it successfully repeats N number of times and puts the message in the error queue. However, in Production (in a few cases - I did not see it sequentially), it just tries to process the message once and stops. He did not put the message in the error queue or none of them was deleted N Number of times, and he did not return the message to the queue. I really do not see the difference between the QA and the Prod environment, its same code base, and we give permission to queues using build scripts.

Here is the stack trace of NServiceBus.Unicast.Transport.Transactional.TransactionalTransport - Failed to create the message "received transport message" for message with ID = 1fb282b5-7a9e-41ea-834a-5f6767273324 \ 195311762 NServiceBus.Unicast.Transport.TransportageExceptionMuserExceptionMesselssessmessensemessensemesselssessmessensemesselssagemesselssagemesselssagemessensemesselssagemesselssagemessensemesslessagesservicebase .Unicast. Transport.TransportMessageHandlingFailedException 'was thrown. in NServiceBus.Unicast.UnicastBus.DispatchMessageToHandlersBasedOnType (IBuilder builder, IMessage toHandle, messageType type) in d: \ BuildAgent-01 \ work \ NServiceBus.Trunk \ src \ unicast \ NServiceBus.Unicast.UnastBus99 Unastast.Usast99UnastBus.Unastbuser Unastast.Usast99Unastbus.unicast.unicasts.unicast.unicast.ser .UnicastBus.HandleMessage (builder of IBuilder, TransportMessage m) in d: \ BuildAgent-01 \ work \ NServiceBus.Trunk \ src \ unicast \ NServiceBus.Unicast \ UnicastBus.cs: line 827 in the NServiceBus.Unicast.UnicastBus.HessderTport constructor , TransportMessage msg) at d: \ BuildAgent-01 \ work \ NServiceBus.Trunk \ src \ unicast \ NServiceBus.Unicast \ UnicastBus.cs: line 1026 in NServiceBus.Unicast.UnicastBus.TransportMessageReceived (sender of the TransportMessageReceivedEventArgs e) BuildAgent-01 \ work \ NServiceBus.Trunk \ src \ unicast \ NServiceBus.Unicast \ UnicastBus.cs: line 975 in System.EventHandler`1.Invoke (object sender, TEventArgs e) in NServiceBus.Unicast.Transport.Transactional.TransactionalTransport.OnTransportMessageReceived (TransportMessage msg) in d: \ BuildAgent-01 \ work \ NServiceBus.Trunk \ src \ impl \ unicast \ transport \ NServiceBus.Unicast.TransportalTransaction. cs: line 409

I tried to delete the same message in QA to test the script, however QA seems to work (with warning exception log).

Questions 1) Why did this exception happen? Has anyone seen their system? Why is it registered only as WARN? I looked at the code and it seems to come from the catch block of Unicast.cs, where it handles the β€œException”.

2) Any suggestions for resolving / digging into the problem?

+4
source share

All Articles