Re: Import/Export servers => import causes error 401

From: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>
To: Edson Richter <edsonrichter(at)hotmail(dot)com>
Cc: "Pgadmin-Support(at)Postgresql(dot) Org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Import/Export servers => import causes error 401
Date: 2023-08-09 04:39:51
Message-ID: CAMa=N=Ni4_pSN7Am3+=uUB0cpzvh+-6oJK5WeDfbXBGa=hSyTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

You can increase log verbosity to debug by setting -
PGADMIN_CONFIG_CONSOLE_LOG_LEVEL: 10
Can you please share complete logs?
Also, how did you copy file from X user to Y storage?(vi Command line or
using upload feature from Tools>Storage Manager)?
Can you please share permission for the json file for both the users?

Thanks,
Yogesh Mahajan
EnterpriseDB

On Wed, Aug 9, 2023 at 7:50 AM Edson Richter <edsonrichter(at)hotmail(dot)com>
wrote:

> I’m using pgAdmin 7.5 on Linux Docker container.
>
>
>
> 1. Login as user X and exported servers.
> 2. Copied the file in the storage from user X to user Y
> 3. Login as user Y and then Tolls => import/export servers
> 4. Select the file
> 5. Click next, and then error 401
>
>
>
> Looking in container’s log, I’ve found the following line:
>
>
>
> ::ffff:192.168.0.30 - - [09/Aug/2023:02:14:32 +0000] "POST
> /import_export_servers/load_servers HTTP/1.1" 401 100 "
> https://192.168.0.251:15000/browser/" "Mozilla/5.0 (Windows NT 10.0;
> Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0
> Safari/537.36"
>
>
>
> Does anyone knows what is causing this error?
>
> Is there any way to increase log verbosity in order I can discover the
> cause of the error?
>
>
>
> I’ll appreciate your help.
>
>
>
>
>
> Regards,
>
>
>
> Edson
>
>
>
>
>
> Enviado do Email <https://go.microsoft.com/fwlink/?LinkId=550986>
> para Windows
>
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Daxu Yin 2023-08-10 19:22:37 pgadmin4 web interface is frozen after login
Previous Message Edson Richter 2023-08-09 02:19:41 Import/Export servers => import causes error 401