Issue
The app process for a Private Space app intermittently records errors like
getaddrinfo: Temporary failure in name resolution (SocketError)
when trying to establish network connections with external services.
Resolution
DNS lookups from the dyno maybe being throttled by the infrastructure provider to 1024 packets/sec: https://aws.amazon.com/premiumsupport/knowledge-center/vpc-find-cause-of-failed-dns-queries/. Each of the dynos runs on the dedicated EC2 instance.
Please try reducing the frequency in looking up the DNS with, e.g., caching the results until it expires after TTL provided by the DNS server.