Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grQ5z-0008Iy-4I for pgsql-general@arkaria.postgresql.org; Wed, 06 Feb 2019 16:30:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1grQ5x-00011C-RC for pgsql-general@arkaria.postgresql.org; Wed, 06 Feb 2019 16:30:41 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1grQ5x-00010O-Gb for pgsql-general@lists.postgresql.org; Wed, 06 Feb 2019 16:30:41 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grQ5q-0003vu-OQ for pgsql-general@lists.postgresql.org; Wed, 06 Feb 2019 16:30:41 +0000 Received: by mail-ed1-x52d.google.com with SMTP id t3so1565150edq.0 for ; Wed, 06 Feb 2019 08:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ogE43wLF/9c7+XyfKN17Y/dm3/SVxH7mjwrW732ggDY=; b=kYT1NH2bZxYdqyiLf+6eLqb7/8dQW+wU1qydSwxddPrC40eNFgTkpzjGTL2ICv7tMQ BhrySDaKZK9tcz6RLIlJzX2omqPslSNJyoXIGmZTENXnvGozncLmJQphFgHlLD3QaQbM 9RORUkm7gr0CDyM19qveqRrf6G2ErvceUxrrGq7lfEg759P4ucXyYoR56CUO7bOJyfvl POpf8d0I9aib1C0eMtK4L4YjGXby/MWxu+7M841YqJJ2CX6ZdQjdLqgXQmIHm/C3ZZgR AnvU7rUy2Fj9PnD4L3Phvg1CtdCNcb1ncS0VI3Fj9kErP9TYhMMUta2JJ+Pm95QrEabO quSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ogE43wLF/9c7+XyfKN17Y/dm3/SVxH7mjwrW732ggDY=; b=HozOIgExluflgZK1fXxZGqCIgvmjH/sdMkRyggbhWcY59yOYZS0BCJuQuFabgckPhN CBDBuyHPKo3RGlDz5c5msFdPENDoWW6X6aMURchKfUN2L4Ce+UxdFf+VMhQLpDIQPY7x 6TZFkbgyVuG0nHxv6DZZnXvnn/1YaC/sxD7xLA8XnN7DCF+8pkXck03KTcaVqFuZsyPe I95LqYqSi9+mDlvYJyOLYFHIKjKCK3Mo6/w8gDFBTz1fauCJVpc/iJEeStcWENkyBqoR jxtssG/nwiO5fVthI9lFL2XceClFemeadITJ57Ef7GSbWjvkz9f99AaDWoG7GzB2PJAm TTAg== X-Gm-Message-State: AHQUAubabPw2Po2Gk3CoY3+PfkuyMH7MYbSQfPGBOicALnaGqOQzQPY1 0rKMn454S6X0Er5sl7FPWjk= X-Google-Smtp-Source: AHgI3IZ0XFHR3uAleMs5zJeDsCRrCIk5zd8eWkT1NJ3Gt1QnQiYpjzwBH/dcRYNqRZqszXqPZ1kXag== X-Received: by 2002:a17:906:1586:: with SMTP id k6mr7968516ejd.29.1549470633086; Wed, 06 Feb 2019 08:30:33 -0800 (PST) Received: from [192.168.178.32] (ip5b4054ce.dynamic.kabel-deutschland.de. [91.64.84.206]) by smtp.gmail.com with ESMTPSA id s58sm1394491edb.64.2019.02.06.08.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 08:30:32 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Connection issue From: Maximilian Tyrtania In-Reply-To: Date: Wed, 6 Feb 2019 17:30:31 +0100 Cc: Ricardo Martin Gomez , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <4558AEAB-975E-495D-9001-409CD5A9E84E@gmail.com> <715197e9-84a1-d975-c29b-a3f054478c02@aklaver.com> <9DA0BBAF-5E13-4D23-877B-A86BE1C149D1@gmail.com> To: Adrian Klaver X-Mailer: Apple Mail (2.3445.102.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi again, > On 6. Feb 2019, at 17:19, Adrian Klaver = wrote: >=20 > On 2/6/19 7:18 AM, Maximilian Tyrtania wrote: >> Well, the problem being a Parallels issue is just a wild theory of = mine, it could well be something else. Honstly I don't recall updating = anything in that area. As Mr. Gomez suggested I tried to >=20 > So from a previous post: >=20 > > Have you recently updated any of the involved software? >=20 > Well, sure, but after I saw I couldn't connect ... >=20 > So what happened in the interval between the time you could connect = and the time you could not? I did update parts of my app (including the plugin which in turn = encapsulates libpq). I did not update my parallels installation, as far = as I remember. Sorry if I was unclear about that. >> ping - worked >> telnet - did not work (infact I couldn't telnet anywhere) >=20 > In my experience telnet is generally disabled these days. I had to enable it on my Windows box, if that's what you mean. The = "telnet" command works by itself, but I didnt receive anything when = trying to telnet to some other machine. >> tracert - worked >> from my windows 10 box (didn't bother to check on my Mac as I have = noc issues there). Still curious as to why the server would say = "Connection reset by peer". >=20 > Well if you are running Windows --> Parallels --> OS X(Mac) --> Serve, = you are effectively testing the Mac also. >=20 > As to 'Connection reset by peer': >=20 > A grep of the Postgres source find this: >=20 > interfaces/libpq/win32.c >=20 > * Contains table and functions for looking up win32 socket error > * descriptions. But will/may contain other win32 helper functions > * for libpq. >=20 >=20 > WSAECONNRESET, "Connection reset by peer" >=20 > Looking up WSAECONNRESET finds this: >=20 > = https://docs.microsoft.com/en-us/windows/desktop/WinSock/windows-sockets-e= rror-codes-2 >=20 >=20 > WSAECONNRESET > 10054 >=20 > Connection reset by peer. > An existing connection was forcibly closed by the remote host. This = normally results if the peer application on the remote host is suddenly = stopped, the host is rebooted, the host or remote network interface is = disabled, or the remote host uses a hard close (see setsockopt for more = information on the SO_LINGER option on the remote socket). This error = may also result if a connection was broken due to keep-alive activity = detecting a failure while one or more operations are in progress. = Operations that were in progress fail with WSAENETRESET. Subsequent = operations fail with WSAECONNRESET. Ah, thanks for digging that up. Hmm, sounds as if something is definetly = wrong on my windows box. I'll try contacting the Parallels support guys. Thanks again, Max=20=