我有一個大包,我試圖部署到Azure中的測試集羣。當我嘗試註冊應用程序類型時,我得到了OperationTimeout,所以我想我可以將TimeoutSec參數發送到Register-ServiceFabricApplicationType,但是我收到一個錯誤,說我的值(1小時)大於MaxOperationTimeout在羣集上配置。我在哪裏配置這個值,我找不到它?該軟件包在本地工作。在集羣上設置MaxOperationTimeout
Copying application to image store...
Copy application package succeeded
Registering application type...
Register-ServiceFabricApplicationType : Client timeout must be less than or equal to the cluster configuration forMaxOperationTimeout. Requested value and timeout limit: (59:59.999, 10:00.000)
At D:\sf\Publish-NewServiceFabricApplication2.psm1:220 char:9
+ Register-ServiceFabricApplicationType -ApplicationPathInImageStore $appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-ServiceFabricApplicationType], FabricException
+ FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType
事實證明,它與此問題有關:http://stackoverflow.com/questions/38119341/register-servicefabricapplicationtype-on-a-secure-cluster-always-times-out/38151560 #38151560 – Haukman