Re: 401 Unauthorized on first run of pgadmin4 [SEC=UNCLASSIFIED]

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: rohan(dot)parkes(at)dpc(dot)vic(dot)gov(dot)au
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: 401 Unauthorized on first run of pgadmin4 [SEC=UNCLASSIFIED]
Date: 2018-07-16 05:20:09
Message-ID: CAFOhELfE9OfhFAnv77Gj1YL_zOfLXEHqZ5AoACxqvmUr-sbwLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Whenever you launch pgAdmin 4 in runtime mode, it will open in your
system's default browser. If you want to open the application in another
browser then you can set that with pgAdmin 4 Tray Icon > Configure window.

Regarding the Unauthorised error, as Dave said in the same email thread :

> *You can expect to see 401's if you're running pgAdmin in desktop mode,
> and try to connect without using the security key. Running under the
> runtime should prevent that happening.**In server mode, you should always
> be redirected to the login page if you need to authenticate (and
> the security key isn't used).*

Thanks,
Khushboo

On Mon, Jul 16, 2018 at 7:28 AM, <rohan(dot)parkes(at)dpc(dot)vic(dot)gov(dot)au> wrote:

> I'm also experiencing this issue using Internet Explorer 11 (which I have
> to use) on Windows 7.
>
> When I launch pgAdmin, I always get an error message saying
>
> 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.
>
> Launching it a second time usually (but not always) clears the problem.
>
>
> *Rohan Parkes*
> *Melbourne*
> *Australia*
>
>
>
> From: John Little <john(dot)b(dot)little(at)gmail(dot)com>
> To: pgadmin-support(at)lists(dot)postgresql(dot)org,
> Date: 13/07/2018 08:37 PM
> Subject: Re: 401 Unauthorized on first run of pgadmin4
> ------------------------------
>
>
>
> On 13 July 2018 at 16:27, Khushboo Vashi
> <khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> > 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%
>
> Thank you, that worked. I don't understand, firefox is my default
> (and only) browser. Nor do I understand why this hasn't affected more
> users, and so Google would have helped me; I'd have thought there'd be
> many "desktop deployments" on Ubuntu just like mine.
>
> Regards, John Little
>
>
> ------------------------------
> Please consider the environment before printing this email
> Notice: This email and any attachments may be confidential and may contain
> copyright or privileged material. You must not copy, disclose, distribute,
> store
> or otherwise use this material without permission. Any personal
> information in
> this email must be handled in accordance with the Privacy and Data
> Protection Act
> 2014 (Vic) and applicable laws. If you are not the intended recipient,
> please
> notify the sender immediately and destroy all copies of this email and any
> attachments. Unless otherwise stated, this email and any attachment do not
> represent government policy or constitute official government
> correspondence. The
> State does not accept liability in connection with computer viruses, data
> corruption, delay, interruption, unauthorised access or use.
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Durumdara 2018-07-16 08:41:47 Starting of PA4 fails
Previous Message rohan.parkes 2018-07-16 01:58:00 Re: 401 Unauthorized on first run of pgadmin4 [SEC=UNCLASSIFIED]