Using node v12.18.2 and v14.16.0 Version 3.2.0 is unaffected Version 3.3.3 is affected on mac and linux, but seems okay on windows. All https calls are resolving to localhost resulting in connect ECONNREFUSED 127.0.0.1:443 The xray trace itself has the right host set, but can also see the incorrect localhost  Spotted whilst using the sns-validator module https://github.com/aws/aws-js-sns-message-validator/blob/master/index.js#L106 https = require('https'), https.get(certUrl Fails with connect ECONNREFUSED 127.0.0.1:443 Where certUrl is a string like "https://sns.eu-west-2.amazonaws.com/SimpleNotificationService-xxxx.pem" Looks semi-related to the following issue: https://github.com/aws/aws-xray-sdk-node/issues/240