The connection was inactive for more than the allowed 60000 milliseconds and is closed by container

Sree Bandaru 0 Reputation points
2023-03-14T09:44:51.0833333+00:00

I am getting this error when using Azure function service bus trigger, any inputs will be helpful. Isolated process .Net5.0

The connection was inactive for more than the allowed 60000 milliseconds and is closed by container '0d3d312a-6f5b-4538-8b30-c6570cbf66bd'.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
357 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 52,441 Reputation points
    2023-03-20T06:05:54.05+00:00

    @Sree Bandaru Thanks for reaching out. In case if you have VNET integrated either at the function app end or azure service bus end or the client/service bus in under the restricted network or if there is configuration issue then you could observe the error where the application is not able to communicate with the service bus.

    If your client application is under the virtual network/no internet access is there so you should enable private endpoint as the communication can happen via the private endpoint.