Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: Windows
- Remote OS: Ubuntu
- Remote Architecture: x86_64
code-server --version
: 4.16.1
Steps to Reproduce
- start code server on ubuntu docker container (as a subprocess of a python script)
- inspect logs
Expected
Not expecting use of keytar since vscode docs vscode state it's deprecated in version 1.80 and higher (code-server v4.16.1 corresponds to Code v1.80.2)
Actual
Logs show attempt to get password from keytar, then it fails and points out that os credential store could not be accessed
Logs
[17:05:44] ExtensionManagementService#cleanUp
[17:05:44] Extension host agent started.
[17:05:44] Extension VSIX downloads cache dir does not exist
[2023-08-30T17:05:44.795Z] debug redirecting from / to ./?workspace=<path
[17:05:44] No uninstalled extensions found.
[17:05:44] ExtensionManagementService#removeGeneratedFolders
[17:05:44] [File Watcher (node.js)] ... (excludes: <none>, includes: <all>)
[17:05:44] Started initializing default profile extensions in extensions installation folder. <file>
[17:05:44] Started scanning user extensions o {
scheme: 'file',
authority: '',
path: ...,
query: '',
fragment: '',
_formatted: ...,
_fsPath: ...
}
[17:05:47] Going to get password from keytar: <account>
[17:05:47] Started scanning system extensions
[17:05:47] Started scanning user extensions o {
scheme: 'file',
authority: '',
path: '.../extensions.json',
query: '',
fragment: '',
_formatted: '.../extensions.json',
_fsPath: '.../extensions.json'
}
[17:05:47] Scanning extensions using UI language: en
[17:05:47] Started scanning system extensions
[17:05:47] Started scanning user extensions o {
scheme: 'file',
authority: '',
path: '.../extensions.json',
query: '',
fragment: '',
_formatted: '.../extensions.json',
_fsPath: '.../extensions.json'
}
[17:05:47] Doing get password from keytar: <account> <--------
[17:05:47] Did not get a password from keytar for account: <account> <--------
[17:05:47] [File Watcher (node.js)] Request to start watching: <path>/code-server/User/keybindings.json (excludes: <...>, includes: <all>)
[17:05:47] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https://aka.ms/vscode-server-keyring on how to set this up. Details: libsecret-1.so.0: cannot open shared object file: No such file or directory <-------
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
Two things I'm not sure about:
- Is failure to access the operating system credential store is the result of the earlier failure attempting to retrieve keytar passwords. ?
- Is this happening in extension host initialization ?
Is this expected behavior ? If that's the case, would you please suggest the recommended fix/setup on my side ?