Action: At first time when opening project on QGIS 3.4.5 and 3.6 versions needs credentials to connect to PostgreSQL DB.

Problem: But after that when connection is success with correct credentials the qgis repeatedly asks the same credentials again to connect to the same DB when the maps is zooming and moving and etc.

repeatedly shows this window

With QGIS 2.18, 3.4.0, 3.4.1 versions all works fine and don't asking repeatedly credentials after first correct time.

Maybe someone knows whats is wrong?


1 Answer 1


You need to store the password during PostgreSQL connection adding. Once you did it. QGIS should not ask you again for the password. However, for single password insert it sounds like a bug in QGIS but without proper investigation is hard to say. Multiple reasons can cause this behavior that you're connection is trying to refresh.

Password storing

  • 2
    If you think it's a bug, please report it on the proper site (GIS SE is not a bug reporting site).
    – csk
    Commented Mar 7, 2019 at 16:59
  • Thank You, Vince, but that I had done before, but problem still was there.
    – gcalibris
    Commented Mar 7, 2019 at 22:28
  • @gcalibris - I'm here because I'm having the same issue. Can you share the bug report you filed, so I can track its progress?
    – J. Taylor
    Commented Apr 12, 2019 at 5:17
  • @J.Taylor - try to install qgis 3.4.7 version, download.osgeo.org/qgis/win64/…. This version is working fine, without this issue. This version of qgis download.osgeo.org/qgis/win64/… I haven't tested yet, but perhaps with this version is fine also.
    – gcalibris
    Commented Apr 24, 2019 at 7:16
  • Has a solution been found yet to this question perhaps? I have the same issue. I am using QGIS 3.6 Commented Sep 11, 2019 at 13:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.