Re: pgAdmin Unable to connect to server via SSH Tunnel (nothing in logs)

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: David A <dangelsaurus(at)gmail(dot)com>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: pgAdmin Unable to connect to server via SSH Tunnel (nothing in logs)
Date: 2018-09-05 05:21:47
Message-ID: CANxoLDdxNxbCoOp7viE0iisn+bn5VfcX5HyOh1RPndqw1MfjVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi David

Can you please provide the following information:

- Your database server and pgAdmin4 running on same machine?
- Provide screenshot of connection and SSH Tunnel tab of the server
dialog.
- Will you be able to connect using SSH command from command prompt with
same credentials

On Mon, Sep 3, 2018 at 4:37 AM, David A <dangelsaurus(at)gmail(dot)com> wrote:

> Using pgAdmin to connect to postgres via SSH Tunnel is giving me the
> following error.
>
> *Unable to connect to server:*
>
> *server closed the connection unexpectedly*
> *This probably means the server terminated abnormally*
> *before or while processing the request.*
>
> The only thing in the postgres server log is...
>
> *2018-09-02 21:56:14.433 UTC [2613] [unknown](at)[unknown] LOG: incomplete
> startup packet*
>
> And the pgadmin4.log
>
> *2018-09-02 17:19:42,934: INFO pgadmin: Failed to connect to the
> database server(#2) for connection (DB:postgres) with error message as
> below:server closed the connection unexpectedly*
> * This probably means the server terminated abnormally*
> * before or while processing the request. *
>
> I have no issues connecting via SSH Tunnel using Datagrip, and I'm using
> the same credentials\settings in pgAdmin ad DG...
>
> I'm at a loss of what to do next to continue troubleshooting, as nothing
> useful is in the logs.
>
> Ubuntu 18.04 running PGSQL 10 on VirtualBox
> pgAdmin 4 (3.2) running on Windows 7
>
>
>

--
*Akshay Joshi*

*Sr. Software Architect *

*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Herman Pool 2018-09-05 12:33:23 PgAdmin, almost unreadable fonts
Previous Message Dave Page 2018-09-04 13:23:50 Re: Login form