【问题标题】:Terminating plugin 'CredentialProvider.Microsoft' due to an unrecoverable fault由于不可恢复的故障而终止插件 \'CredentialProvider.Microsoft\'
【发布时间】:2022-11-08 02:33:09
【问题描述】:

尝试将 nuget 推送到 Azure DevOps,遇到下面的身份验证错误。尝试删除所有通用凭据,重新安装凭据管理器...

dotnet nuget push --source "XXX" --api-key az "XXXX.nupkg"
Terminating plugin 'CredentialProvider.Microsoft' due to an unrecoverable fault:  NuGet.Protocol.Plugins.ProtocolException: A plugin protocol exception occurred.
 ---> NuGet.Protocol.Plugins.ProtocolException: The SSL connection could not be established, see inner exception.
   at NuGet.Protocol.Plugins.OutboundRequestContext`1.HandleFault(Message fault)
   at NuGet.Protocol.Plugins.MessageDispatcher.OnMessageReceived(Object sender, MessageEventArgs e)
   at NuGet.Protocol.Plugins.Connection.OnMessageReceived(Object sender, MessageEventArgs e)
   at NuGet.Protocol.Plugins.Receiver.FireMessageReceivedEvent(Message message)
   at NuGet.Protocol.Plugins.StandardOutputReceiver.OnLineRead(Object sender, LineReadEventArgs e)
   --- End of inner exception stack trace ---
error: The request was canceled due to the configured HttpClient.Timeout of -0.001 seconds elapsing.
error:   A task was canceled.
error:   Pushing took too long. You can change the default timeout of 300 seconds by using the --timeout <seconds> option with the push command.

【问题讨论】:

    标签: azure-devops nuget credentials credential-manager


    【解决方案1】:

    我有一个类似的问题。你能解决这个问题吗?

    【讨论】:

    • 请不要添加我也是作为答案。它实际上并没有提供问题的答案。如果你有一个不同但相关的问题,那么ask它(如果它有助于提供上下文,请参考这个问题)。如果您对这个特定问题感兴趣,您可以upvote 它,留下comment,或者在您有足够的reputation 时启动bounty
    猜你喜欢
    • 2015-01-29
    • 2018-02-27
    • 2015-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-29
    • 2013-12-01
    相关资源
    最近更新 更多