[Qgis-developer] Postgres SSL connection on Windows fails

Maciej Sieczka tutey at o2.pl
Thu Apr 17 18:21:44 EDT 2008


Hi

Is there a reason why QGIS on Windows (the latest Tisham's build as well 
as the latest Marco's one) fails to connect to Postgres database with 
SSL? I never had the problem with QGIS on GNU/Linux.

Here's the error:

Connection to dbase on xxx.xx.xx.xx failed. Either the database is down 
or your settings are incorrect.

Check your username and password and try again.

The database said:
FATAL:  no pg_hba.conf entry for host "xx.xx.xx.xx", user "user", 
database "dbase", SSL off


The "FATAL" message is not correct. There is an appropriate entry in the 
pg_hba.conf on the server. And I can connect from the same IP when I use 
a Debian machine.

Maciek


More information about the Qgis-developer mailing list