artifacts-keyring icon indicating copy to clipboard operation
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:

Open jrversteegh opened this issue 2 years ago • 7 comments

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.

jrversteegh avatar Mar 06 '23 13:03 jrversteegh

$HOME/.local/share/MicrosoftCredentialProvider/SessionTokenCache.dat looks like it contains a valid token...

jrversteegh avatar Mar 06 '23 15:03 jrversteegh

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

alkofahi avatar Mar 08 '23 17:03 alkofahi

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:

kcm117 avatar Apr 04 '23 00:04 kcm117

Can someone confirm is this is still happening for 0.3.3? We updated many package versions as part of that release.

JohnSchmeichel avatar Jun 01 '23 00:06 JohnSchmeichel

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.

t-rchen avatar May 29 '24 10:05 t-rchen

Still happening on 0.3.6 and Python 3.12.6.

pali6 avatar Sep 24 '24 12:09 pali6

@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?

embetten avatar Jan 07 '25 17:01 embetten