The server requested SCRAM-based authentication, but no password was provided.
Solution: Add progress password
$ sudo su - postgres
$ psql
ALTER USER "postgres" WITH PASSWORD 'password';
FATAL: no pg_hba.conf entry for host "xx.xx.xx.xxx", user "postgres", database "postgres", SSL on
How to solve this error on dbeaver:
Find out where is your hba file:
$ sudo -u postgres psql
postgres=# show hba_file;
/etc/postgresql/13/main/pg_hba.conf
# Add at bottom your eg: IP 111.111.11.11/21 trust
hostnossl all all 0.0.0.0/0 trust