From: Tom Lane <tgl@sss.pgh.pa.us>
To: chiranjeevi@greycampus.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15284: SSL connection is off
Date: Thu, 19 Jul 2018 10:20:22 -0400
Message-ID: <20747.1532010022@sss.pgh.pa.us> (raw)
In-Reply-To: <153197552316.1396.16903346755597280019@wrigleys.postgresql.org>
References: <153197552316.1396.16903346755597280019@wrigleys.postgresql.org>
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> psql -h 185.168.192.147 -U postgres
> psql: FATAL: no pg_hba.conf entry for host "183.82.105.209", user
> "postgres", database "postgres", SSL off
Hmm. This line:
> host all all 0.0.0.0/0 md5
certainly ought to match that connection attempt. So I can think of
two possibilities:
1. You are not looking at the pg_hba.conf file that the running server
is actually using. "SHOW hba_file" could be used to confirm which one
that is.
2. You modified the file since the server was started, and didn't
SIGHUP the server to tell it to re-read the file. ("pg_ctl reload"
would fix that, or your packager may have provided a wrapper script
for it.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, chiranjeevi@greycampus.com
Subject: Re: BUG #15284: SSL connection is off
In-Reply-To: <20747.1532010022@sss.pgh.pa.us>
References: <153197552316.1396.16903346755597280019@wrigleys.postgresql.org> <20747.1532010022@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox