- Newest
- Most votes
- Most comments
Hello.
If the status is yellow, I think there is no problem.
The document you shared says.
https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/aws/integrate-your-aws-databases-with-your-wix-site
The following page displays DB Config Status and Connection Status in green. If you added a PERMISSIONS secret, the Permissions Config Status is also green. If you didn't, it's yellow.
I think that if you wanted the status to be green, you would need to configure the "Learn more about configuring database permissions" section of the documentation.
I found out the cause.
The Lightsail DB instance parameter "rds.force_ssl" was set to 1.
If you change this to 0 using the command below and restart Lightsail DB, you can now connect.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-updating-database-parameters.html
aws lightsail update-relational-database-parameters --relational-database-name Database-3 --parameters "parameterName=rds.force_ssl,parameterValue=0,applyMethod=pending-reboot"
The values registered in the secret manager are as follows.
{"username":"dbmasteruser","password":"3uyyyyyyyyyyyyyy","engine":"postgres","host":"ls-yyyyyyyyyyyyyyyyy.yyyyyyyyyyyy.ap-northeast-1.rds.amazonaws.com","port":"5432","dbname":"postgrestutorial","SECRET_KEY":"myBigSecret","DB":"postgrestutorial"}
Relevant content
- asked 3 years ago

Thanks, my problem is with the connection status that is red. 'Connection Status Unrecognized Error: 28000, no pg_hba.conf entry for host "THE_IP_ADDRESS_OF_MY_APP_RUNNER_SERVICE", user "MY_USER", database "postgres", no encryption ''. I did will update the question so it is clearer
Thanks, that it is what I was thinking, but my problem is with the 'Connection Status Unrecognized Error'. I will update my question so its clearer.
Thanks Riku, now its working properly.