[Python] ServiceUnavailable: 503 DNS resolution failed for service in Windows

813 views
Skip to first unread message

busu...@google.com

unread,
Oct 13, 2021, 5:55:44 PM10/13/21
to grpc.io
Hi,

I'm posting on behalf of a user who raised this question in the the python library for Google Cloud Firestore. (original issue with example code, stack traces).

They are working in a Windows environment. Calls to the firestore.googleapis.com endpoint through the gRPC client eventually result in this error:

debug_error_string = "{"created":"@1632831473.221000000","description":"Resolver transient failure","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":1356,"referenced_errors":[{"created":"@1632831473.221000000","description":"DNS resolution failed for service: firestore.googleapis.com","file":"src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc","file_line":202,"grpc_status":14,"referenced_errors":[{"created":"@1632831473.221000000","description":"OS Error","file":"src/core/lib/iomgr/resolve_address_windows.cc","file_line":93,"os_error":"The specified class was not found.\r\n","syscall":"getaddrinfo","wsa_error":10109}]}]}"


Additional Context:

Any pointers on what to try next would be much appreciated. Thank you!


Lidi Zheng

unread,
Oct 13, 2021, 6:10:07 PM10/13/21
to busu...@google.com, Craig Tiller, grpc.io
+Craig Tiller 

The logic around Windows name resolution is stable for years. By searching the socket error 10109, I didn't find any more info: https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2

Craig, since you wrote this module originally, if you have a second, can you help to take a look at what this resolution error could mean?



--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/50378f56-90fc-4b9d-9ec5-d18f65bb1e0fn%40googlegroups.com.

Meredith Slota

unread,
Nov 13, 2021, 6:58:36 PM11/13/21
to grpc.io
The original issue is still open, but no additional info posted there (yet). Any other folks have any ideas? 
Reply all
Reply to author
Forward
0 new messages