-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication manager behaves weird #25283
Comments
Author Name: Andreas Neumann (@andreasneumann) maybe linked to #25282 |
Author Name: Andreas Neumann (@andreasneumann) If I open the qgis-auth.db file in QGIS and have a look in the table auth_configs there is an entry with the correct ID that QGIS complains it cannot find: wkt_geom rowid id name uri type version config So obviously there is some problem that QGIS can't access my qgis-auth.db file correctly. |
Author Name: Andreas Neumann (@andreasneumann) If I run the Python code QgsApplication.authManager().authenticationDatabasePath() the result is '/home/an/.local/share/QGIS/QGIS3/profiles/default/qgis-auth.db' Which seems correct. The file exists and can be opened in QGIS. |
Author Name: Andreas Neumann (@andreasneumann) When opening a new QGIS profile, authentication manager works fine. Perhaps this is a migration issue with an old qgis-auth.db from older QGIS 3 profiles? |
Author Name: Alessandro Pasotti (@elpaso) @andreas, there is really a lot of things going on here and I need more information to track this down:
A possible cause:
Does it make sense to you? All error messages from QGIS make sense: what it sais is that a given auth cfg is not in the DB (because it wasn't migrated). If all that makes sense: please close this bug and file a new one for migrating (just copying) the auth DB from a pre-existing QGIS2 installation to the new QGIS3 default profile on first run. |
Author Name: Alessandro Pasotti (@elpaso)
|
Author Name: Patrick Dunford (@enzedrailmaps) This message comes up randomly at startup.
|
Author Name: Harrissou Santanna (@DelazJ)
"It's also shown when you :
Note that I don't use the authentication feature. And I'm on Windows here, 2a960c5." This is what I was about to send until I read some comments above and create a new profile user. The QGIS instance that opens does not suffer this bug afaics, no message pops up. Could you try a new profile? |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Confirmed here: Authentication Manager: Auth db query exec() FAILED Authentication Manager : Query exec() van database voor authenticatie MISLUKT I see both in master in my local QGIS (Debian self compiled in home network environment) and in a work environment (behind proxy) with a OSGeo4W64 nightly of today. Just browsing some data and it will pop up...
|
Author Name: Andreas Neumann (@andreasneumann) In my setup, this message also pops up, when I open the "Options" dialogue in the "Settings" menu, regardless of which tab is active. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Harrissou Santanna (@DelazJ) Andreas Neumann wrote:
Was not my case before but with b59bd94 I also get the message when I open the Options dialog (on Windows) and only with the "default" profile |
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
|
Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 17386
Affected QGIS version: master
Redmine category:authentication_system
Assignee: Alessandro Pasotti
Issue Nr 1: Already at QGIS startup I get two warnings:
WARNING: QGIS authentication Auth query exec() FAILED
WARNING: QGIS authentication Auth query exec() FAILED
Issue Nr 2: Subsequent issue for already existing connections (Postgis): if I click on the "Edit" button of an existing connection, I get error messages:
Configuration 'up539g3' not in database
At the same time a KDE error message pops up: QGIS authentication Auth query exec() FAILED
See first screenshot attached.
Issue Nr 3:
if I want to add a new authentication configuration, QGIS asks me for my master password and I get the following error messages:
Master password has been successfully written to your Wallet/KeyRing
Auth db query exec() FAILED
Master password: FAILED to access database
subsequently I can't add a new configuration and QGIS keeps asking for my master password.
The text was updated successfully, but these errors were encountered: