By vikramkh
Sometimes when I make an API request, my API returns the error: Unhandled error in GET /api/endpoint 500 Error: getaddrinfo ENOTFOUND db-postgresql-nyc3-32178-do-user-7115232-0.db.ondigitalocean.com db-postgresql-nyc3-32178-do-user-7115232-0.db.ondigitalocean.com:25060 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
I’m using Loopback 4.x (Express framwork) and this is my configuration: DB_HOST=db-postgresql-nyc3-32178-do-user-7115232-0.db.ondigitalocean.com DB_PORT=25060 DB_USER=<username> DB_PASSWORD=<password> DB_DATABASE=<database> DB_SCHEMA=<schema> DB_POOL_MIN = 5 DB_POOL_MAX = 5
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Yes, I am also getting a similar issue but with MySQL.
@vikramkh did you found any solution yet?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.