Tentacle - messageEnvelope is null


I’m seeing an error on deploying a package locally to a machine. The Tentacle is on v5.0.5 and redeploying worked, so it’s intermittent.

The step failed: Activity ***** failed with error 'messageEnvelope is null

Server exception: 
System.Exception: messageEnvelope is null
   at Halibut.Transport.Protocol.MessageExchangeStream.ReadBsonMessage[T]()
   at Halibut.Transport.Protocol.MessageExchangeStream.Receive[T]()
   at Halibut.Transport.Protocol.MessageExchangeProtocol.ProcessReceiverInternalAsync(IPendingRequestQueue pendingRequests, RequestMessage nextRequest)'. 

Any ideas?

Hi @matthewericford,

Thanks for reaching out! Sorry to hear you’re experiencing issues.

We’ve seen this before and we believe it to be caused by environmental factors.
As you’ve mentioned that it can work on retry - is this potentially caused by intermittent network issues?

Upon looking at the stack trace it appears this occurs during the transfer of binary-encrypted JSON (BSON) after a normal connection has already been established.
The issue could arise when there’s an interruption in the request stream whereby a packet may get dropped or otherwise disrupted mid-transfer - causing the data to be incomplete or empty.

Do you feel that this is possibly the case within your particular scenario?

Kind Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.