-
Notifications
You must be signed in to change notification settings - Fork 710
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
Credential provider error with .NET Core SDK 3.1.100: Problem starting the plugin #162
Comments
It looks like this might be a bigger issue with .NET Core SDK 3.1.100 on Ubuntu 18.04 / Debian 9. |
Filed dotnet/core#4053 which might be related. |
I am also seeing this error on Mac, it occurs on both
dotnet info:
|
This is happening occasionally devops pipelines. https://developercommunity.visualstudio.com/content/problem/1106610/sporadic-dotnet-restore-authentication-credentialp.html |
@jkeech - I have a devops pipeline using Using SDK Version: 3.1.302 |
I've started seeing this failure in my DevOps pipeline. Using SDK ver. 3.1.402 and NuGet 5.7.0. I think, for me this started after switching from a custom NuGet task to provide creds to private feed with the NuGet Authenticate task. |
Just to let you guys know, there are a bunch of us over here: https://developercommunity.visualstudio.com/content/problem/1106610/sporadic-dotnet-restore-authentication-credentialp.html having this randomly break our azure devops pipelines. Currently the advice from azure is a temporary workaround to increase timeouts manually on each pipeline, while we wait for a fix in this repo:
Any idea how long this will take? |
UPDATE -- For me the issue was stemmed from some build tools (fetching during build itself, not restore), and as I understand the "dotnet restore" task that came before that would effectively clear out the auth context. So I managed to successfully fix my issue by reordering the tasks to do:
|
Sorry for being confusing - the issue is due to a timeout in NuGet waiting for a response from the credential provider. Just letting you know if you see this "problem starting the plugin" during a restore, it might go away and come back since it's a timing based problem - others have thought it fixed only to see it come back. |
In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. |
The credential provider works when using SDK 2.2.401, but fails on 3.1.100 on the same machine (just changing global.json). This is in a Debian 9 container (in a VS Online environment). The credential provider was installed as follows:
# Install Azure DevOps credential helper for dotnet restore. wget -q https://raw.githubusercontent.com/microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh -O installcredprovider.sh chmod +x installcredprovider.sh ./installcredprovider.sh rm installcredprovider.sh
Error on 3.1.100
Edit: running with detailed logging gives this more specific stack trace on the plugin load, and I can confirm that the dll does exist:
Success on 2.2.401
Dotnet info
The text was updated successfully, but these errors were encountered: