Re: 401 Unauthorized on first run of pgadmin4

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: John Little <john(dot)b(dot)little(at)gmail(dot)com>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: 401 Unauthorized on first run of pgadmin4
Date: 2018-07-13 04:27:08
Message-ID: CAFOhELf2gzuQPzD4_1fPLVcygOKBW8vnOSkQhanSvCG=Lw=78w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, Jul 13, 2018 at 9:37 AM, John Little <john(dot)b(dot)little(at)gmail(dot)com>
wrote:

> I've today tried to install pgadmin4 on Kubuntu 18.04 according to the
> instructions at
>
> https://wiki.postgresql.org/wiki/Apt
>
> Running pgadmin4 produces a 401 Unauthorized page in firefox.
>
> By using the pgAdmin 4 Tray Icon, you can browse pgAdmin 4 in the default
browser.
If you want to change the browser, use configure option from the pgAdmin 4
Tray icon.
To set Firefox as a default browser for pgAdmin then provide the command as
below

"<Path to firefox>" %URL%

Example: "/usr/bin/firefox" %URL%

In the terminal it shows
>
> Python path: "/usr/lib/python3/dist-packages"
> Python Home: ""
> Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
>
> and hangs. postgresql works fine, installed yesterday from the Ubuntu
> repository.
>
> I've tried removing ~/.pgadmin/pgadmin4.db, installing the packages
> pgadmin4-apache2 and python3-flask-babelex, setting SERVER_MODE=True
> and False, and resetting the postgres password.
>
> I've never had pgadmin running before, and it's a vanilla install. Or
> at least it was until my various efforts to make it run, having
> googled around.
>
> What am I missing?
>
> Regards, John Little
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2018-07-13 04:40:57 Re: Query Tool Initialize Error
Previous Message John Little 2018-07-13 04:07:27 401 Unauthorized on first run of pgadmin4