From: tikkoneus <tikkoneus@gmail.com>
To: pgsql-pkg-debian@postgresql.org
Subject: pgadmin4 client bug report
Date: Sun, 22 Apr 2018 15:19:27 -0400
Message-ID: <b654d03a-ffe6-6a49-2523-e54ae639f655@gmail.com> (raw)
Hello,
I have not used pgadmin before. After following these
<https://wiki.postgresql.org/wiki/Apt; instructions I ran `pgadmin4`
(e.g. DESKTOP/client mode) and was presented with a splash screen and
then a browser window at http://127.0.0.1:<port>/browser/ that said:
Unauthorized
The server could not verify that you are authorized to access the
URL requested. You either supplied the wrong credentials (e.g. a bad
password), or your browser doesn't understand how to supply the
credentials required.
I discovered that ~/.pgAdmin4.xxx.addr contained the correct URL in the form
http://127.0.0.1:<port>/?key=<uuid;
After copy/pasting that URL manually into the browser pgAdmin4 accepted
it and immediately redirected to the http://127.0.0.1:<port>/browser/
location and from there works beautifully.
It appears that a recent change added session keys for authenticating
the browser to the client. The authentication URL is correctly written
to the logs but then the wrong (old) URL is actually sent to the system
to pop up in the default browser.
OS: Ubuntu 16.04
Version screen:
Version
3.0
Copyright
Copyright 2013 - 2018, The pgAdmin Development Team
Python Version
3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
Flask Version
0.10.1
Application Mode
Desktop
Current User
pgadmin4@pgadmin.org
Cheers,
tikkoneus
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-pkg-debian@postgresql.org
Cc: tikkoneus@gmail.com
Subject: Re: pgadmin4 client bug report
In-Reply-To: <b654d03a-ffe6-6a49-2523-e54ae639f655@gmail.com>
References: <b654d03a-ffe6-6a49-2523-e54ae639f655@gmail.com>
* 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