xshirax commented on issue #38280: URL: https://github.com/apache/arrow/issues/38280#issuecomment-1772731496
Hi After further investigation I found this issue on the c-ares repository: https://github.com/c-ares/c-ares/issues/571 There seems to be a regression added to this module, which was recently fixed (last week) by this commit https://github.com/c-ares/c-ares/commit/a070d7835d667b2fae5266fe1b790677dae47d25 Do you think this fix will be available in the next version of grpc? Do you need rebuild the package with this fix? (I haven't tested this fix yet) Meanwhile, I also found a workaround, if anyone is bumping into this issue in the future: avoid using c-ares as the dns resolver, and instead use "native" dns resolution via the environment variable `GRPC_DNS_RESOLVER=native`. To set the environment variable I had to use the `os` package: ``` os.environ["GRPC_DNS_RESOLVER"] = "native" ``` Passing it using the `generic_options` argument in the `flight.connect()` function did not work for some reason. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
