Can you check if the TLS handshake is happening between the source and the destination over wireshark ? This may be something to do with route table configuration of ServiceBus namespace region. You would probably need to add your machine IP to that region route table.
BizTalk 2020 Service Bus connectivity issue
Problem: BizTalk receives this error when sending message to Azure Service Bus:
"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:00:37.6349347'. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host"
Setup: BizTak 2020 on an Azure VM with CU5.
The adapter SB-Messaging gets this error when we want to send messages to the service bus, receiving messages from the service bus with the SB adapter nothing happens no errors nothing.
We tested the connectivity to the queue with a powershell script that pushes messages to the queue with the command 'Invoke-WebRequest' works fine. same for custom C# script.
Can someone assist us with the problem?
If wanted I can send more details.
Thanks