database up & running but Network request failed
hey you all, few days ago, due to inactivity my project was stopped and i restored it, but after that, accessing the database with exact same credentials return Network request failed. in my dashboard, it says PostRest and Postgres as unhealthy but I can do. i did restart the project, fast restart of the database, neither of these helped, still can't access to database with the previous setup in my ios app. i also disabled all RLS nothing helped
4 Replies
Check your Postgres and PostgREST logs to see if useful info.
If it has been more than an hour unhealthy then support is likely the only fix if you already restarted.
it's days, in logs, i already checked, it shows some unsuccessful tries to connect db, but after several attempts, it seems it could successfully connect, according to the logs, but still network failed on my side
"Failed to query database settings for the config parameters.{"code":"PGRST000","details":"connection to server at \"localhost\" (::1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\nconnection to server at \"localhost\" (127.0.0.1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}"
however after this, there is also a succesful log
Sounds like support is needed.
thank you