Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6gpP-0000pk-Gc for pgadmin-support@arkaria.postgresql.org; Mon, 01 Feb 2021 21:33:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6ghn-0006I7-Jc for pgadmin-support@arkaria.postgresql.org; Mon, 01 Feb 2021 21:25:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6ghn-0006I0-B5 for pgadmin-support@lists.postgresql.org; Mon, 01 Feb 2021 21:25:55 +0000 Received: from mout.web.de ([212.227.15.14]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6ghj-0000dT-Vz for pgadmin-support@lists.postgresql.org; Mon, 01 Feb 2021 21:25:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1612214749; bh=/lKxJIQ06OMz6Kb4PFMhnpIyU2aGaWPeqHXEtfwXu2k=; h=X-UI-Sender-Class:To:Cc:References:From:Subject:Date:In-Reply-To; b=mhVjHgzrF6t6yZU5BNEmBAwXfRNt0+MeqSdBEC8kwPYHPBKUDqLBB9DVKyhJwruCV SNU554KJZXPeqdxv+j+9LCqUSBWzmz6neCSCqc59sKm4s/5wv/RtYsPeOmAaDAfqdy LhKKWJTeGiFnijTPp3j89OhpdRkbs5kf/XJSiHGg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from mip5.mired ([84.189.82.56]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MMpCS-1lPK133APc-00JC0U; Mon, 01 Feb 2021 22:25:49 +0100 To: Khushboo Vashi Cc: "pgadmin-support lists.postgresql.org" References: <02ad2a84-76a8-255a-f366-aaa7ca72156d@web.de> From: Michael Eschweiler Subject: Re: authentication fail Message-ID: <6c43d987-ae7d-bd1b-6760-ecdea3d25004@web.de> Date: Mon, 1 Feb 2021 22:25:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:VXI7fStPJpuNPL1Xvx0paSwMb3NAYXV51rLPKzMfDGY/rQCUbVY FKos5fXUEYZ51v9tbdPEo6o7MJBvAd4RdPlh4kEdwB32mLylBLz9VmY/GngzEZ8gSXG8H8E 2VOKPbSCc78npyqyAlmffVWgb2/lYJz4o/KtdgMpcJJq/8ZHh8LXAY5HYfmROsoJap/8HKt XJo8Of+VeDzfnmEDFbKHg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H6iMQRLEqUw=:iTvGGjz+Ns1m6J8FRbOwPn +F1OJjrpCERlXoz1LMO0ZjAo4lXD5qkGY0FiYEsOku932dHN90gEDhffZ/24aRrA0ooqFZKkR iVxHS5aOgMR5VgekZis9FMH7+Zw/5cLM0xH3C54jejmTkVslFsRQJgyMjQJENM57/NGmoyG3a Y/xmfv+BbybVAkJl8RWsutqZAEZ6QTa/pKjgw0BXNvoQq/gyMl3ZmYbsDfH/dbOtv3ELyZaYT ivOvm8gS8aFFZc/6zkaOTygdUdRzGE5FvRI8tpNMgg4/uVmCutP6xrYI4subRyrqAz4khjhPp AvM+ofUL4L2frSwQvNAdTgLCZNXvuYCzwOZRgL716CHrVrLJN3mpyo9wFk/zfMtnc6zHN9H16 qmma/FElY02GmNEPh3j38o0y+0G2y3Z6DsJPdb6gtQNCahyFZdzKKdtotQeA1oj8qB8A1r9Fo mA1wQSfnjq9FNn20P9N+lKki5CNrngA5OGhMRuek0trVZ5PsZAR2bnfSrq6U6H9VIRrja5+OM /B1Jg+PjvtSjlRYzj4V/CPg3/+4/gXaUX8EFHvwbSgs/Dj4PapJ4zUgQ1+selIneUEZM0WkAq pqJVIL60hSXIr6NyzkNlvD4hF5oaqu4hw7/3cE730v0dmnT1Jk/MyezfL6S5Uz70w5tTGJhNO 4SVqFsW7LPMDkF/YFX5Jef99YFIn0gfXT+SJ91Il2igb8XZZgLqEK5aWKWGC3FUYTPYSOLPpn 7XSTP9FQH2BE+O5gNyuTCUJXJYsdD8hwjNgtttKD3AGCUSeIsiuwMgldtf+65iQKlZPURE0M9 I6yiEtCG69QIyFpyB8PmnXe5oQcsLQDPP0ZB9jcGr7JGpD4oNP9vBZU3cj1HjcWQkH1X2MeJy nQwWvk6LtdogkaLJ3hbmfYn8s35e7iJVPETqC9PIY= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Am 01.02.21 um 05:50 schrieb Khushboo Vashi: > > Looks like you are running pgAdmin 4 version 4.1 and the latest version > is 4.30. Please upgrade the pgAdmin to the latest and your issue will be > resolved. Seems that I must be VERY patient. I am working with opensuse Leap 15.2. The version of paAdmin4 which comes with the distro is this version (4.1). Even the rolling release distro (Tumbleweed) only offers the version 4.29. At: https://ftp.postgresql.org/pub/pgadmin/pgadmin4 I found the rpm-Package f=C3=BCr Red Hat and Fedora. Do you have any information if this works on opensuse too? Thanks in advance, Michael > > Thanks, > Khushboo > > > On Sat, Jan 30, 2021 at 1:58 PM Michael Eschweiler > > wrote: > > Hi Khushboo, > > Am 12.01.21 um 05:26 schrieb Khushboo Vashi: > > Hi, > > > > On Tue, Jan 12, 2021 at 12:39 AM Michael Eschweiler > > > >> wrote: > > > >=C2=A0 =C2=A0 =C2=A0Hi there, > > > >=C2=A0 =C2=A0 =C2=A0I am using postgresql 12 on Linux opensuse Leap= 15.2. > >=C2=A0 =C2=A0 =C2=A0In 'former times' with my postgresql-db I used = pgadmin3. It > was nice and > >=C2=A0 =C2=A0 =C2=A0tiny, and I was happy. > >=C2=A0 =C2=A0 =C2=A0Now, with pgadmin4 I am not able to connect to = my server. > There is no > >=C2=A0 =C2=A0 =C2=A0problem with pgsql nor with knoda even from ano= ther computer > but with > >=C2=A0 =C2=A0 =C2=A0pgadmin4 I always get an authentication error. = In pg_hba.conf > I changed > >=C2=A0 =C2=A0 =C2=A0all connections to 'trust' - but no way! > >=C2=A0 =C2=A0 =C2=A0Is there a verbose-mode for pgadmin4 in order t= o see what is > happening? > > > > It should work with pgAdmin as you have no problem with psql. > > You can enable logging to check the issue, please > > refer=C2=A0https://www.pgadmin.org/faq/#8 > > to > > enable it. > > Also, you can provide the screen-shot of the error you are getting= , so > > we can help you. > > =C2=A0 > > > >=C2=A0 =C2=A0 =C2=A0Thanks in advance. > >=C2=A0 =C2=A0 =C2=A0Best regards, > >=C2=A0 =C2=A0 =C2=A0Michael > > > >=C2=A0 =C2=A0 =C2=A0By the way: Is there a way to get rid of this a= nnoying nag screen > >=C2=A0 =C2=A0 =C2=A0telling me every time I start pgadmin that ther= e is a new > version? My > >=C2=A0 =C2=A0 =C2=A0version came with the distro > > > > You can disable the version check by setting UPGRADE_CHECK_ENABLED > > parameter to False, > > refer=C2=A0https://www.pgadmin.org/docs/pgadmin4/4.29/config_py.ht= ml > > > > for > the. same. > > > > Thanks for the hints and sorry for the delay. Here is what I did aft= er > having deleted everything related to pgadmin in my user directory: > First I created the file config_local.py following the advice at > https://www.pgadmin.org/faq/#8 > Then I started pgAdmin4 on a console. During the start I get this > message: > --- snip --- > Invalid MIT-MAGIC-COOKIE-1 keyPython path: > "/usr/lib/python3.6/site-packages:/usr/lib64/python3.6/site-packages= " > Python Home:=C2=A0 "" > Webapp path:=C2=A0 > "/usr/lib/python3.6/site-packages/pgadmin4-web/pgAdmin4.py" > NOTE: Configuring authentication for DESKTOP mode. > pgAdmin 4 - Application Initialisation > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =C2=A0* Serving Flask app "pgadmin" (lazy loading) > =C2=A0* Environment: production > =C2=A0 =C2=A0WARNING: Do not use the development server in a product= ion > environment. > =C2=A0 =C2=A0Use a production WSGI server instead. > =C2=A0* Debug mode: off > Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid > MIT-MAGIC-COOKIE-1 key > --- snip --- > (don't know if this is ok...) > > The browser window with pgAdmin4 opened. In order to see what happen= ed > please revise the attached pdf. As you will see, my trial ended up w= ith > ... nothing. > > Looking through the pgAdmin4.startup.log (attached) I didn't find > nothing special - this seems ok but I must confess that don't know h= ow > to interprete the messages in pgadmin4.log (attached) and if there i= s > any hint in order to see what went wrong. > > I would appreciate any help in order to get pgAdmin4 working. > > Best regards, > Michael > > P.S.: The authentication configuring in pg_hba.conf: > > # "local" is for Unix domain socket connections only > local=C2=A0 =C2=A0all=C2=A0 =C2=A0all=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0trust > # IPv4 local connections: > host=C2=A0 =C2=A0 all=C2=A0 =C2=A0all=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0127.0.0.1/32 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 md5 > host=C2=A0 =C2=A0 all=C2=A0 =C2=A0username=C2=A0 =C2=A0 =C2=A0 =C2= =A0 xxx.xxx.xx.0/24=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0trust > > (the last line I introduced so that my normal user can access the > database remotely from different machines in my local network.) >