FABRIC_E_INVALID_ADDRESS when accessing the statistics service without maintenance through a remote proxy

I get a "FABRIC_E_INVALID_ADDRESS" 400 Bad Request when I contact my stateless service.

I installed the reverse proxy exactly as it says in this article: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reverseproxy

I access the service just as it explains in the documentation, with:

http://clustername.com:19008/MyApp/MyService

I am sure that the reverse proxy works as planned because port 19008 returns a response from the service fabric. Also:

  • If I remove MyService from the URL, I get 404 SERVICE_DOES_NOT_EXIST
  • If I change the name of the service, I get 404 SERVICE_DOES_NOT_EXIST
  • If I use a different port, I get a timeout.

, , , 400.

- , ? , , , 400 FABRIC_E_INVALID_ADDRESS, Google, MSDN. .

+4
1

, , UriScheme Protocol Endpoints ServiceManifest.xml:

<Endpoint Name="Test1TypeEndpoint" UriScheme="http" Protocol="http" />

, , Policiy ServiceManifestImport ApplicationManifest.xml, , :

<ServiceManifestImport>
  <ServiceManifestRef ServiceManifestName="Test1Pkg" ServiceManifestVersion="1.0.0" />
  <ConfigOverrides />
  <Policies>
    <ContainerHostPolicies CodePackageRef="Code">
      <PortBinding ContainerPort="80" EndpointRef="Test1TypeEndpoint" />
    </ContainerHostPolicies>
  </Policies>
</ServiceManifestImport>

CodePackageRef CodePackage ServiceManifest.xml:

<CodePackage Name="Code" Version="1.0.0">
0

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


All Articles