且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

HNS失败并出现错误:对象已存在

更新时间:2023-11-07 23:38:04

到目前为止,您已采取了哪些措施来解决此问题? 


请尝试以下操作: 


- 重新启动您的SF群集


- 重新部署您的SF群集


- 确保docker已完全更新 


另外,请查看有关对本地群集进行故障排除的文档


https://docs.microsoft.com / en-us / azure / service-fabric / service-fabric-troubleshoot-local-cluster-setup


并且,您的SF群集是什么操作系统? 


after I publish rabbitmq sf project ,  the sf explorer shows error :

Error event: SourceId='System.Hosting', Property='CodePackageActivation:Code:EntryPoint'. There was an error during CodePackage activation.System.Fabric.FabricException (-2147017731) Failed to start Container. ContainerName=sf-11-17295b82-f240-4da0-baaa-a58cf3a44adc_d6a146c3-9098-464c-a16b-2a27b37aeac7, ApplicationId=BusType_App11, ApplicationName=fabric:/Bus. DockerRequest returned StatusCode=InternalServerError with ResponseBody={"message":"failed to create endpoint sf-11-17295b82-f240-4da0-baaa-a58cf3a44adc_d6a146c3-9098-464c-a16b-2a27b37aeac7 on network nat: HNS failed with error : object already exists。 "} .

What have you done so far to troubleshoot this issue? 

Try the following: 

- Restart your SF cluster

- Redeploy your SF cluster

- Make sure docker is fully updated 

Also, check the doc on troubleshooting your local cluster

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-troubleshoot-local-cluster-setup

And, what OS is your SF cluster?