Using elastic-apm-node package for apm setup in my nodejs application suddenly started facing below issue
SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332
Using http url with below configuration
import apm from "elastic-apm-node"
apm.start({
serviceName: "placement_apis",
secretToken: "",
serverUrl: "http://kibana.sunstone.in:8200",
environment: process.env.NODE_ENV,
captureBody: "all",
})