Azure Service Fabric 7148 Activation Error

I have a service network cluster that hosts numerous applications. One application has the type of service in which the service is created, a bit is executed, and then deleted. Everything works fine, but the cluster almost always has its state set to an error, because there will be several of them in the "Unhealthy ratings" section.

Error Event: SourceId = 'System.Hosting', Property = 'CodePackageActivation: Code: EntryPoint'. An error occurred while activating CodePackage. Service host completed exit code: 7148

I wrapped both main and RunAsync in exception handlers, but can't see anything in analytics. Is there a way to see what exit code 7148 means? Thank.

+4
source share
1 answer

7148 is a common error code that indicates that something failed in SF during the configuration or activation process of the service host. So the reason you don't see any errors or exceptions is because your code never gets a chance to run.

Examples of things I saw that led to 7148:

  • exe was not actually a window exe due to corruption
  • In the service manifest, there was a link to a certificate or some other pre-req, such as an endpoint that was not configured correctly (for example, a port that was already in use, or an invalid fingerprint for the certificate).
  • Something exploded on Windows, which caused the process to crash, for example, setting up the host network for the container failed.

, , Windows, , . SF , 7148.

0

Source: https://habr.com/ru/post/1683852/


All Articles