Error: Unable to perform the request: Timeout was reached (Couchbase Eventing)

Issue - Error: Unable to perform the request: Timeout was reached.

Error log in eventing - 2021-11-23T11:44:19.025+00:00 [INFO] “error occured while calling the api for meta.id : new_doc_5, error : Error: Unable to perform the request: Timeout was reached”

complete post URL → https://working.url/test (I’ve changed the URL for security reasons but the original URL is a working URL )

eventing setting
url alias → curlBackend → https://working.url

eventing js code snippet
function OnUpdate(doc, meta) {
var request = {
path: ‘/test’,
headers: {
‘Secret-Key’: ‘HSOSJBSOJ19203092AJSJSDIK’
},
body: {
“doc”: doc,
“metadata”: meta
}
};
try {
if (Object.keys(request.body.doc).length > 0) {
if (‘data’ in request.body.doc) {
log("-----------------transaction started-------------------");
log(“document : " + JSON.stringify(request.body.doc));
var response = curl(‘POST’, curlBackend, request);
if (response && response.status == ‘200’) {
log(“completed”);
} else {
log(“failed”);
}
log(”-----------------transaction completed-------------------");
}
}
} catch (err) {
log("error occured while calling the api for meta.id : " + meta.id + ", error : " + err);
}
}

CURL() Function Access is in Unrestricted mode

Please help me in solving this as I’m new to all this

ping from couchbase server is also not working due to which the above issue is coming.
please help how to resolve this

[satish@couchbase-alpha-jkt logs]$ ping google.com
PING google.com (142.251.12.139) 56(84) bytes of data.