HaysquareOriginal post
Rank 1: Thread
Hello there, trying to create an account for development, I was getting error as
{"message":"Error: Error handler had an error: Failed to create connection: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve","code":500,"file":"/usr/src/code/vendor/utopia-php/framework/src/App.php","line":551,"trace":[{"file":"/usr/src/code/vendor/utopia-php/framework/src/App.php","line":673,"function":"execute","class":"Utopia\App","type":"->","args":[{},{},{}]},{"file":"/usr/src/code/app/http.php","line":253,"function":"run","class":"Utopia\App","type":"->","args":[{},{}]}],"version":"1.4.13"}
Summary
Error while trying to create an account for development. Getting an error message: "Error handler had an error: Failed to create connection: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve." The error code is 500. The file and line where the error occurred are mentioned. Developer is seeking help to resolve this issue.
Solution: It seems like a network connectivity issue. Check if the domain name is resolving correctly. Verify the network settings and ensure that the database connection details are correct. If the problem persists, contact the technical support team for further assistance.