You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
This is the difference I see in the logs compared to version 4.7.0, after Extension host agent started.
[09:16:31] Started initializing default profile extensions in extensions installation folder. <file>
[09:16:31] Completed initializing default profile extensions in extensions installation folder. <file>
File not found: <path>/code-server-v4.16.1-linux-x86_64/lib/vscode/out/vsda_bg.wasm
File not found: <path>/code-server-v4.16.1-linux-x86_64/lib/vscode/out/vsda.js
[09:16:33] [172.31.17.224][08f5a111][ManagementConnection] New connection established.
[09:16:34] 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
[09:16:34] [172.31.17.224][7daec656][ExtensionHostConnection] New connection established.
@benz0li Thanks for pointing me to that thread. However this fix seems specific to git extensions ? I am getting the error in v4.16.0 on startup without installing any extensions.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.16.1Steps to Reproduce
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
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
Two things I'm not sure about:
Is this expected behavior ? If that's the case, would you please suggest the recommended fix/setup on my side ?
The text was updated successfully, but these errors were encountered: