Closed scsmithr closed 2 years ago
I'm having difficulty reproducing this behavior on the versions given. Out of curiosity, are you able to configure a nonempty password such that it properly persists between sessions?
Welp, turns out I can't configure a connection with a password and have it persist. I get the same error when trying to connect.
Ah ok. Maybe the secret store behaves differently between platforms. Are you running vscode on Linux?
Yeah, so seems vscode is using the keytar lib which tries to communicate with whatever keychain service is running. Except I don't use a keychain service...
Idk how you'd want to handle that. I know I'm probably on the fringe with my setup, I'd imagine most people are reasonable and are running with a keychain so this wouldn't affect them.
Actually kind of unclear what's going on considering https://github.com/microsoft/vscode/issues/115215
When attempting to reconnect to a passwordless postgres database after closing and reopening vscode, I get the following error:![image](https://user-images.githubusercontent.com/4040560/154514830-6c05b2f0-f45e-4d8c-ae9f-18adbe9fa142.png)
Steps to reproduce
docker run --rm --name sql-notebook -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:14
).Misc info
No other extensions are installed, and I'm using a completely stock configuration for vscode.