asp.net-core-mvcazure-service-fabricasp.net-core-3.1service-fabric-stateless

Service Fabric Reverse Proxy HTTP Not Found


I have a SF project where I have two public services that are secured with HTTPS, and multiple "private" services that are not.

I'm running into an issue when I try to do a reverse proxy call to one of my public services from one of my private services I get a 404 Not Found.

The services are written in .Net core 3.1 and I use kestrel as my web server.

I'm presuming the issue has to do with the fact that my public service cannot be reached by the proxy because of the fact the HTTPS port is the only port being listened on by the kestrel server.

How would I allow kestrel to allow for HTTP calls from the reverse proxy and the public HTTPS endpoint?


Solution

  • I found the answer over here on this question.

    Just again too re-iterate the importance of setting the unique name for ServiceInstanceListener.