I use the postgres connector a lot, and there are two major issues that I’ve come across that may help find your solution.
Ensure that your postgresql database allows incoming connection for Looker Studio. I believe you should request from your sql admin for them to add 142.251.74.0/23 as a Authorized Network. (This would be under Connections → Summary → Security if you use Cloud SQL in GCP.)
Reminder that you should never allow people on the web to tell you to add their IP, I could be someone trying to steal your companies data. Check out the following link from google for a full answer on connecting to a postgres database and the listed IP Address range. You can also search it on Welcome to Looker Studio | Google Cloud to find this answer yourself if you don’t trust my link.
I have found that connecting datasets with capital letters and spaces in the column names can be finicky. I recommend renaming all columns to follow (URL Removed by Staff)
Every several weeks, we suddenly can’t authenticate postgres server in RDS with :
"Sorry, we encountered an error and were unable to complete your request.
Error ID: 5fbb2428"
I connect to the DB from python, pgadmin and basically any other tool except looker. after several hours its ok again. Has anybody faced the same issue ?
I would need to see both the settings for your environment and your connection information, as well as the columns in the dataset to be of any good use. I would recommend trying to follow these instructions to the T and googling how to use the postgresql connector.
I just went through the same issue but managed to connect after a while.
First tip, is look at your database logs to see if you have any errors connection errors (we use AWS RDS, and the logs are available in the AWS RDS logs tab).
If there is no logs at all, it means that the connection might be blocked by a firewall, if such, add 142.251.74.0/23 to your firewall.
If there are database logs, it will usually help you.
At least for me, I solved this error by enabling SSL – very confusing to have Looker not simply say this was the error, and even more confusing the Looker requires you to generate your owner certificates - you can do so with this script: https://github.com/thusoy/postgres-mitm/blob/master/postgres_get_server_cert.py