Open mcurko opened 3 years ago
Still facing this problem or were you able to resolve?
Dev cluster is running where? Azure?
Well, I don't have the solution to the problem at all.
Where is the "dev" cluster running? If it's on azure did you enable reverse proxy in deployment? Might be the issue? I'll see if I have time to repro using azure
By Dev cluster I mean the development 1/5-node cluster installed on my development machine.
Is there any progress on the DNS issues ?
Stood up a Dev cluster on my local machine, and another in a fresh VM on Azure to confirm. All the below is common.
Created a basic stateless service from the Visual Studio 2022 template. Added ServiceDnsName="Stateless1"
to the startup services xml.
Ran the project to push the service into SF.
Dns.GetHostEntry("stateless1")
within the RunAsync()
loop of the service throws "Host unknown"
Service Fabric Runtime Version: 7.1.458.9590
Environment: Dev cluster
Description: This example doesn't work on Dev cluster but works on standalone one-node windows cluster. In both situations DnsService is present in the cluster. Following the information on https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-dnsservice, a project is created and attached to this issue. It consists of 2 stateless web APIs, one calling another ("front" -> "back") via internal DNS resolution. On Dev cluster it fails with message "No such host is known."
On both clusters the "back" controller can be reached by:
http://localhost:7002/weatherforecast
http://localhost:19081/myapp/back/weatherforecast
but only on standalone server byhttp://localhost:7001/weatherforecast
myapp.zip
Observed behavior: error "No such host is known."
Expected Behavior: the same as on the standalone cluster
OS(Windows/Linux): Windows
If this is a regression, which version did it regress from? n/a
Assignees: /cc @microsoft/service-fabric-triage