Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Keyring is skipped due to an exception: Failed to get credentials: process with PID 395888 exited with code -11; additional error message: #57

Open
jrversteegh opened this issue Mar 6, 2023 · 5 comments
Labels
question Further information is requested

Comments

@jrversteegh
Copy link

jrversteegh commented Mar 6, 2023

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
Copy link
Author

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

@alkofahi
Copy link

alkofahi commented Mar 8, 2023

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

@kcm117
Copy link

kcm117 commented Apr 4, 2023

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:

@JohnSchmeichel
Copy link
Member

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

@embetten embetten added the question Further information is requested label Feb 12, 2024
@t-rchen
Copy link

t-rchen commented May 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants