From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Howard Wells <mr284(at)protonmail(dot)com> |
Cc: | Rob Sargent <robjsargent(at)gmail(dot)com>, Condor <condor(at)stz-bg(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Postgres SQLSTATE[08006] [7] timeout expired |
Date: | 2019-08-26 21:25:04 |
Message-ID: | dd0b658a-550a-32aa-1327-f75121f9a71e@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 8/26/19 1:07 PM, Howard Wells wrote:
> On my first post, I asked the person in charge of the firewall if 5432 was open and he told me it was. When I checked it myself later, I found out that it wasn't. Before I post to this list again, I'll check all assumptions myself.
>
> "Only when I go to the IP address of the server with the Postgres database will the transaction complete, and it happens quickly."
>
> My best guess is that when the IP address is also the address of the Postgres server, the firewall does not interfere.
I would have the sysadmin confirm what is actually going on, or you run
the risk of being bitten by this again.
>
> Howard
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Sunday, August 25, 2019 4:55 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
>> On 8/25/19 2:59 PM, Howard Wells wrote:
>>
>>> I solved this problem. All four servers are behind a firewall, but port 5432 was not open on the firewall. When I opened 5432, the problem disappeared.
>>
>> Glad you solved. Confused as to how:
>>
>> 1. From first post:
>> "All four are behind the same firewall, with port 5432 open."
>>
>> 2. A subsequent post:
>>
>> "Only when I go to the IP address of the server with the Postgres
>> database will the transaction complete, and it happens quickly."
>>
>>
>>> Thanks to Rob Sargent, Adrian Klaver and Condor for your help.
>>> Howard
>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>> On Sunday, August 25, 2019 12:20 PM, Rob Sargent robjsargent(at)gmail(dot)com wrote:
>>>
>>>>>>>>>
>>>>
>>>>>>>>> console.
>>>>>>>>> The pg_hba.conf has these lines enabled:
>>>>>>>>> pg_hba.conf:
>>>>>>>>> host all [username] 0.0.0.0/0 trust
>>>>>>>>> host all all 0.0.0.0/0 md5
>>>>>>>>> host all all ::/0 md5
>>>>>>>>> host all all all
>>>>
>>>> Who is encrypting the password?
>>>>
>>>>>
>>
>> --
>>
>> Adrian Klaver
>> adrian(dot)klaver(at)aklaver(dot)com
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2019-08-26 21:31:06 | Re: import job not working |
Previous Message | Jeremy Thomason | 2019-08-26 20:22:28 | Re: import job not working |