Service Fabric Actor or Service Becomes Inaccessible at Random after Upgrading to SDK 2.3.301

前端 未结 2 1804
遇见更好的自我
遇见更好的自我 2021-02-04 07:26

After upgrading from Service Fabric SDK 2.0.135 to 2.3.301, we have started encountering situations where a Service Fabric actor or service is inaccessible in spite of showing a

2条回答
  •  独厮守ぢ
    2021-02-04 08:08

    This issue can happen in 2 scenarios.

    1. If your ActorService method processing is taking more than the default timeout, then you need to change OperationTimeout value. By default it is 5 minutes. If you want to change the timeout, you can change it by adding assembly FabricTransportServiceRemotingProviderAttribute in your client assembly.

    https://msdn.microsoft.com/en-us/library/microsoft.servicefabric.services.remoting.fabrictransport.fabrictransportserviceremotingproviderattribute.aspx

    1. If first scenario is not the case, then you can try below mitigation for a known bug.
      • Specify Port 0 in the Service Manifest for the ActorService endpoint. By default, ActorEndpoint will be listed in ServiceManifest but port won’t be there.

    This is how it will look for ActorService after you make change.

    
    

    We are aware of the problem and a fix is on the way.

提交回复
热议问题