Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6dpk-0006JH-3q for pgsql-general@arkaria.postgresql.org; Thu, 12 Apr 2018 15:08:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f6dpi-0003Fr-5M for pgsql-general@arkaria.postgresql.org; Thu, 12 Apr 2018 15:08:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6dph-0003Fh-RP for pgsql-general@lists.postgresql.org; Thu, 12 Apr 2018 15:08:17 +0000 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f6dpZ-0002ze-Ip for pgsql-general@postgresql.org; Thu, 12 Apr 2018 15:08:16 +0000 Received: by mail-io0-x231.google.com with SMTP id d7so6679244ioc.11 for ; Thu, 12 Apr 2018 08:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=TNFudPOf5B+S7ieD0BWo7xf2YViE3lrkLDQef16+Jy0=; b=kERzG6W7T1HjONvl0le+/l+tkggSU2+1ACoNwzynOOOuGKnM/OwFRp1JhaXCJu4IN9 INLk09lPrxmpMo/8lPDe8yU7CZNbt8PR41tR9qSH3OxC5MzMzeRanMayYrfgloJirHVw r/0AqAoGOrROByWnHWZGab7UpvljrNsS6FtBlyDSRcSh8RIYWPj8nn2hIZOPCeTWd5bY 2OWXxL4A+IkHKQWFKBK9QJW5twA1hOJDcEBAItDf7e8n82PB5KIqb72kFYRhyaLq5s+F bzCiJAhhbbPrNXaueqvO4iC+PVD49EgMhqgWXCzPPpOvdP922F0vQlWBybzxMiatIJMm 7hmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=TNFudPOf5B+S7ieD0BWo7xf2YViE3lrkLDQef16+Jy0=; b=XIr0ylv9DaiHoJ16XE8ScRw/sNBxHnEuewqiurOIovTBzDoZlCt6Hw/NmsCAt74Qd0 GiiAgGyK3dovut5vakGTGcnmGWiCqoEFn6281tPUV3orBQFQdOXtYn3zICiGaTrrbRYM ajDOjdfRd5cYGVxzsmmt+jOBfa7kEMJKR89NBN3cKIe8d4nuQHw75OsEL6ouhMKOTLBW iu1FPOqYOS9tR1J+oujsrexSw6hRv6DmQ6W5+qWzjn5gpUAXIxZXMkC/GBDCDWReODa2 MojD3mRB1GKViN0cDfFprb1kPtoivk/i2XIRm3Q5H3JLhnis+m3JPMa1cH6IsstNM/N9 AKPQ== X-Gm-Message-State: ALQs6tBnXaW1nLJ2RXQ1bHDkFWskO0wji2NUgGe3U9DEua9TE7/6L2UV y4/AU3Jb1ni3fJr6rVLQ46SRjYHI X-Google-Smtp-Source: AIpwx4/DFea57ltHpVogl3pEbIWzXnKez6pMajF6aFVB4znowiMCr/gIi7etE0xNR1OnJezGmpb6aA== X-Received: by 10.107.161.199 with SMTP id k190mr3583088ioe.60.1523545687220; Thu, 12 Apr 2018 08:08:07 -0700 (PDT) Received: from ?IPv6:2605:a601:2062:d00:7c8d:b85d:253a:ab93? ([2605:a601:2062:d00:7c8d:b85d:253a:ab93]) by smtp.gmail.com with ESMTPSA id z2-v6sm2039049ita.2.2018.04.12.08.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Apr 2018 08:08:06 -0700 (PDT) From: armand pirvu Message-Id: <52B15D81-F467-4ACF-B23E-8760737BEF75@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_D6AB244F-3F7F-412A-9B3A-042540C5733F" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: authentication failure Date: Thu, 12 Apr 2018 10:07:29 -0500 In-Reply-To: Cc: "pgsql-general@postgresql.org" To: Adrian Klaver References: <365D2700-44D4-4849-A434-E78BF6F526C3@gmail.com> <2496e0fb-bb23-ae29-b0d8-1b96456de56d@aklaver.com> <56528F6F-A2FF-4748-BA3B-15E57855F285@gmail.com> <0DAF9812-45BC-42F9-8C69-C3EDF6B5E66D@gmail.com> <6E90358D-6986-4222-9059-374D7F205F58@gmail.com> <4CF15AC7-6D2B-43B8-8838-0F429240905E@gmail.com> <745881b7-5dfb-edba-1700-a58e1ddd270f@aklaver.com> <792F77F3-6CA4-484E-BD6C-5267BED69648@gmail.com> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_D6AB244F-3F7F-412A-9B3A-042540C5733F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Apr 12, 2018, at 9:55 AM, Adrian Klaver = wrote: >=20 > On 04/12/2018 07:50 AM, armand pirvu wrote: >=20 >>> I would be inclined to raise the authentication_timeout first before = setting the auth method to trust. >>>=20 >>> I would also set the below.: >>>=20 >>> = https://www.postgresql.org/docs/10/static/runtime-config-logging.html#RUNT= IME-CONFIG-LOGGING-WHAT >>>=20 >>> log_connections (boolean) >>> Causes each attempted connection to the server to be logged, as well = as successful completion of client authentication. Only superusers can = change this parameter at session start, and it cannot be changed at all = within a session. The default is off. >>>=20 >>> log_disconnections (boolean) >>>=20 >>> That will give you a better idea of what is going on connection = wise. >>>=20 >>>=20 >>>=20 >>> --=20 >>> Adrian Klaver >>> adrian.klaver@aklaver.com >> Will do so and report back >=20 > Also, in a previous post you mentioned: >=20 > "Yes and worked fine until two days ago" >=20 > Is the code under version control so you can see if anything changed = two days ago? >=20 > If not, any recollections of significant events from that time period? >=20 >> Many thanks >> Armand >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com No change in the code Only maybe the data volume and potentially the number of what we call = events for which that runs There was a talk to add some more functionality but never went through However I will ask around to see if someone did not forget to say about = a change put in place overnight (it happened before) Thanks Armand --Apple-Mail=_D6AB244F-3F7F-412A-9B3A-042540C5733F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Apr 12, 2018, at 9:55 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:

On = 04/12/2018 07:50 AM, armand pirvu wrote:

I would be = inclined to raise the authentication_timeout first before setting the = auth method to trust.

I would also set the = below.:

https://www.postgresql.org/docs/10/static/runtime-config-loggin= g.html#RUNTIME-CONFIG-LOGGING-WHAT

log_connections (boolean)
Causes each attempted = connection to the server to be logged, as well as successful completion = of client authentication. Only superusers can change this parameter at = session start, and it cannot be changed at all within a session. The = default is off.

log_disconnections = (boolean)

That will give you a better idea = of what is going on connection wise.



--
Adrian Klaver
adrian.klaver@aklaver.com
Will do = so and report back

Also, in a = previous post you mentioned:

"Yes and = worked fine until two days ago"

Is the code = under version control so you can see if anything changed two days = ago?

If not, any recollections of = significant events from that time period?

Many thanks
Armand


--
Adrian Klaver
adrian.klaver@aklaver.com

No change = in the code
Only maybe the data volume and potentially the = number of what we call events for which that runs
There was a = talk to add some more functionality but never went = through
However I will ask around to see if someone did not = forget to say about a change put in place overnight (it happened = before)

Thanks
Armand


= --Apple-Mail=_D6AB244F-3F7F-412A-9B3A-042540C5733F--