SSL Error while calling REST API

I am calling REST API’s from my scripts which are running on concourse. I am getting below error while calling the API’s. I am using axios to fetch the API response. Could anyone help me on this?

Actual Error:
Error: write EPROTO 139802829498176:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:…/deps/openssl/openssl/ssl/s23_clnt.c:827: