elastic / elastic/apm-agent-nodejs

APM Server transport error (ERR_SOCKET_TIMEOUT): Socket timeout

Open
#4,026 5 comments 0 reactions 0 assignees View on GitHub
awaiting reply community
Dominant language
JavaScript
Stars
594
Forks
244
Avg merge
1d 8h
Merged PRs (30d)
16

Description

What should I do to solve the problems below?
I have no idea why the APM Server transport error (ERR_SOCKET_TIMEOUT): Socket timeout"}` error occurs.

`{"log.level":"error","@timestamp":"2024-05-16T05:19:14.619Z","log":{"logger":"elastic-apm-node"},"dt.entity.host":"HOST-40CA2xxxxxxxAA","dt.entity.host_group":"HOST_GROUP-0C777xxxxxxxxA3A","dt.entity.process_group":"PROCESS_GROUP-0AC212xxxxxxxxDB3F8","dt.entity.process_group_instance":"PROCESS_GROUP_INSTANCE-xxxxxxx","dt.host_group.id":"NT","ecs":{"version":"1.6.0"},"message":"APM Server transport error: error fetching APM Server version: timeout (30000ms) fetching APM Server version"}
{"log.level":"error","@timestamp":"2024-05-16T05:19:14.621Z","log":{"logger":"elastic-apm-node"},"dt.entity.host":"HOST-40CxxxxxA0AA","dt.entity.host_group":"HOST_GROUP-0C77xxxxxx3A","dt.entity.process_group":"PROCESS_GROUP-0AC21xxxxxx3F8","dt.entity.process_group_instance":"PROCESS_GROUP_INSTANCE-0A26xxxxxxx39ED16","dt.host_group.id":"T","ecs":{"version":"1.6.0"},"message":"APM Server transport error (ERR_SOCKET_TIMEOUT): Socket timeout"}`

The container comes up and then you get the following error message:

`{"log.level":"debug","@timestamp":"2024-05-16T06:14:59.145Z","log":{"logger":"elastic-apm-node"},"dt.entity.host":"HOST-40CA2xxxxxAA","dt.entity.host_group":"HOST_GROUP-0C7779xxxxxxA3A","dt.entity.process_group":"PROCESS_GROUP-0ACxxxxxx8x3F8","dt.entity.process_group_instance":"PROCESS_GROUP_INSTANCE-094A53xxxxxC472","dt.host_group.id":"NT","ecs":{"version":"1.6.0"},"message":"no active transaction found -cannot build new span"}
{"log.level":"debug","@timestamp":"2024-05-16T06:14:59.145Z","log":{"logger":"elastic-apm-node"},"dt.entity.host":"HOST-40CA2xxxx0AA","dt.entity.host_group":"HOST_GROUP-0Cxxxx9DF145xxxA3A","dt.entity.process_group":"PROCESS_GROUP-0AC2xxxxDB3F8","dt.entity.process_group_instance":"PROCESS_GROUP_INSTANCE-094AxxxxxC472","dt.host_group.id":"T","ecs":{"version":"1.6.0"},"message":"intercepted call to http.request {\"id\":null}"}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.