Connection timeout error

#1

Hi there, my API connection times out when calling endpoints and this caused my application to fail.

I get the result below when a request is sent to any of the endpoint on the API.

{
    "data": [],
    "message": "connect ETIMEDOUT",
    "error": true
}

Note: This started after SSL installation on the server.

0 Likes

#2

Hey @iamtunde! :wave:

This error isn’t an official Adonis error, meaning you (or a third party library) are sending this JSON back.

Maybe you can create a repository to reproduce the issue so we can have a look.

2 Likes

#3

Yes you’re correct I had the errors handled before retuning the response, however I’ve fixed the problem.

It was a misconfiguration in my proc.json used in running PM2 server.

Thank you for your response. @romain.lanz

1 Like

#4

Thanks for your suggestion. I am also facing same issue.

0 Likes