Closed dblock closed 6 years ago
That seems odd
It went away 12 hours later, maybe it's a legit DNS resolver problem after all where the round-robin is returning a bad result once in a while. I'm going to close.
The custom Celluloid DNS Resolver misses a lot of the properties that the ruby default resolver has:
Any of these might factor into your announced error rate. If you're using the same domain name, which will resolve to the same IP, I suggest (if possible) that you resolve the address before entering "celluloid land" (using resolv
lib) and use the IP directly.
Just for context, in this particular case the slack library has an API call (web) that returns an URL that includes a domain name. I guess I could try resolving that first to improve outcomes, but it seems like it's fine with what it is for now. Thanks everyone.
Seeing these when making hundreds of simultaneous connections. They all are using the same load balancer so DNS resolution should always the same. About 2-5% fail with this:
via https://github.com/slack-ruby/slack-ruby-client/issues/218