[ejabberd] postgresql ssl connection

zhong ming wu mr.z.m.wu at gmail.com
Mon May 9 16:29:39 MSD 2011


On Mon, May 9, 2011 at 8:13 AM, Toby Thain <toby at telegraphics.com.au> wrote:
>>
>> Here is ejaberd.log
>> ---------------------
>> I(<0.305.0>:ejabberd_odbc:216) : pgsql connection failed:
>> ** Reason: {authentication,[{severity,'FATAL'},
>>                             {code,"28000"},
>>                             {message,"no pg_hba.conf entry for host
>> \"10.10.10.10\",
>
> Did you deal with this error ^^ ?
>
> --Toby


Here is the line in pg_hba.conf that does not work for ejabberd

hostssl xmpp xmpp 10.10.10.10/32 md5

I know postgres/ssl setup is correct; I can connect to this server as
user 'xmpp' to the database 'xmpp' using 'psql'

----------------

Here is the line that works for ejabberd

host xmpp xmpp 10.10.10.10/32 md5

---------------------


More information about the ejabberd mailing list