artifacts-keyring
artifacts-keyring copied to clipboard
WARNING: Keyring is skipped due to an exception: Failed to get credentials: process with PID 395888 exited with code -11; additional error message:
Fails with error message in title.
Environment:
- latest linux mint
- python 3.11.2
- pip install artifacts-keyring
pip install <whatever> --index-url=<our_azure_devops_package_feed_url>
Fails and the warning is generated. Any information on what might be the issue is missing due to no message.
$HOME/.local/share/MicrosoftCredentialProvider/SessionTokenCache.dat looks like it contains a valid token...
Running into the same issue, this shows when I try to store my credentials. If I skip that, it shows up during installation of my package
Similar issue on Windows. when attempting to pip install a library from our ADO artifacts feed.
- issue appears in artifacts-keyring 0.3.2 and 0.3.1
- Python 3.8.X
- pip install my package name --index-url my team ADO artifact feed URL
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=**REDACTED**' or one of its dependencies. The system cannot find the file specified. at NuGetCredentialProvider.CredentialProviders.Vsts.AdalTokenCacheUtils.GetAdalTokenCache(ILogger logger) at NuGetCredentialProvider.Program.<Main>d__11.MoveNext() in E:\A\_work\78\s\CredentialProvider.Microsoft\Program.cs:line 81 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NuGetCredentialProvider.Program.<Main>(String[] args) WARNING: Keyring is skipped due to an exception: Failed to get credentials: process with PID 39180 exited with code 3762504530; additional error message:
Can someone confirm is this is still happening for 0.3.3? We updated many package versions as part of that release.
This is still happening on 0.3.3 and 0.3.5 on windows, python version 3.12.3.
Edit: For anyone still stuck with this issue, I switched to using WSL and artifact-keyring worked fine.
Still happening on 0.3.6 and Python 3.12.6.
@pali6 - as we yet to have a repro on our side, can you provide your most recent redacted logs and system information (os, python, artifacts-keyring, dotnet runtime version) so we can investigate further?