Skip to content

we are not using gcp/aws/azure and apm is trying to make a metadata request to them #4459

Closed
@sibelius

Description

@sibelius

is this the default behavior ? can we disable this ?

HTTP 514907: SOCKET ERROR: socket connection to metadata token server timed out Error: socket connection to metadata token server timed out
at ClientRequest.<anonymous> (app/node_modules/elastic-apm-node/lib/cloud-metadata/aws.js:138:7)
at ClientRequest.emit (node:events:524:28)
at Timeout.onConnectTimeout [as _onTimeout] (app/node_modules/elastic-apm-node/lib/http-request.js:137:13)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
HTTP 514907: SOCKET ERROR: could not ping azure metadata server Error: could not ping azure metadata server
at ClientRequest.<anonymous> (app/node_modules/elastic-apm-node/lib/cloud-metadata/azure.js:72:17)
at ClientRequest.emit (node:events:524:28)
at Timeout.onConnectTimeout [as _onTimeout] (app/node_modules/elastic-apm-node/lib/http-request.js:137:13)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions