microsoft / service-fabric

Service Fabric is a distributed systems platform for packaging, deploying, and managing stateless and stateful distributed applications and containers at large scale.
https://docs.microsoft.com/en-us/azure/service-fabric/
MIT License
3.02k stars 399 forks source link

Is this a DNS Service issue? #657

Open festivus opened 5 years ago

festivus commented 5 years ago

We have a docker container running a simple web app hosted in IIS. It's setup as a stateless service and the ServiceDnsName is set and the DNS service is enabled and running. This is a 3 node cluster running in Azure.

When calling the container service via HttpClient from within a regular stateless service , we occasionally will get the following error

System.Net.Http.HttpRequestException: The requested name is valid, but no data of the requested type was found ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was found

Could this have anything to do with the DNS Service?

moikot commented 5 years ago

I have the same issue. Docker Desktop Community Version 2.0.0.3 (31259) Channel: stable Build: 8858db3

Service Fabric: 6.4.637.9590

When we try to access docker containers running under the governance of Service Fabric, using their assigned DNS names, 60% of the requests fail because of DNS name resolution. Ping and curl issued from the local machine fail in the same way.