hello what this error means Error: [500] getaddrin...
# help
v
hello what this error means Error: [500] getaddrinfo ENOTFOUND db and how can i solve it
n
Hello @Voko2255! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
You'll have to provide more info on what you are doing when you get it and your environment. 500 is normally a server error.
n
Voko2255 (2022-05-01)
v
It's suddenly happening my server was working fine
g
OK you still have not given any info. Is this hosted or your own install? What are you doing when the error occurs? This is a very generic error you have posted and can be alot of things, likely to do with connecting to the database (bad url, bad password, bad port). If you are using Supabase hosted you could try restarting the server.
v
its hosted in aws the problem happen after i connect to database using php
g
So for whatever reason, the error points to your connection info to the database is wrong or database is not responding at the address anymore. I can't speculate why if you did not change anything. If you google on your error almost all references point to various things involving connecting, using ip address versus localhost, port numbers, etc. Do you have a database tool you can use to connect to the postgres user port and see if that works? Not sure if a crashed database would also cause that error but it might as there would be no response at the connection.