I have created a scaffold mediator as per Building a Basic Mediator | OpenHIM .
When I am trying to test the same using the command
curl -X GET http://localhost:5001/scaffold -H “Authorization: Basic $(echo -n test:test | base64)”
I am getting
An internal server error occurred
The server logs has
2023-09-02 17:36:01.104 - error: [worker1] [64f32529c416130692d281db] Internal server error occured: Error: getaddrinfo EAI_AGAIN scaffold
2023-09-02 17:36:01.110 - info: [worker1] All routes completed for transaction: 64f32529c416130692d281db
2023-09-02 17:36:01.110 - error: [worker1] Error: getaddrinfo EAI_AGAIN scaffold
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
2023-09-02 17:36:01.114 - info: [worker1] Final status for transaction 64f32529c416130692d281db : Failed
What am I missing here ?