Closed night91 closed 2 years ago
No error if: gem "excon", "~> 0.79.0"
0.80 introduced: use Ruby Resolv for hostname lookup So getting the error now using:
require "resolv" p Resolv.getaddress "psrc-4nrnd.us-central1.gcp.confluent.cloud"
Testing inside a docker container of linux and no problem. So maybe is my Mac.
Using confluent schema registry gives intermittent errors.
Got it down to Excon. This below gives sometimes: no address for (Resolv::ResolvError) and other times an OK. Similar error when using
.encode
Excon.new("<CONFLUENT_REGISTRY_URL>", user: "USER", password: "PASSWORD").request
Also a simple: nslookup gives intermittent errors.
Any ideas working with Confluent Schema Registry?
Versions: avro_turf (1.6.0) excon (0.92.3)