libgit2 / libgit2/libgit2sharp
"remote authentication required but no callback set" in pull after upgrading from 0.28 to 0.29
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- C#
- Estrelas
- 3.5k
- Forks
- 925
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
@bording we get the error "remote authentication required but no callback set" after upgrading from 0.28 to 0.29 when connecting to a company internal azure devops server.
This works great with the old version using windows authentication.
Reproduction steps
- connect to a company internal azure devops server via windows authentication
Signature signature = GetSignature();
PullOptions pullOptions = new()
{
MergeOptions = new() { FileConflictStrategy = CheckoutFileConflictStrategy.Theirs }
};
MergeResult mergeResult = Commands.Pull(Repository, signature, pullOptions);
Expected behavior
Success
Actual behavior
LibGit2Sharp.LibGit2SharpException
HResult=0x80131500
Message=remote authentication required but no callback set
Source=LibGit2Sharp
StackTrace:
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
Version of LibGit2Sharp (release number or SHA1)
0.29
Operating system(s) tested; .NET runtime tested
Windows 11, .NET 4.8
Seems to be related to #2065 and #2087
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece com a chamada Pull e o caminho de erro em Core/Ensure.cs na linha 154 e, em seguida, compare o comportamento de autenticação entre as versões 0.28 e 0.29. Analise as issues relacionadas #2065 e #2087 e reproduza o problema no servidor interno do Azure DevOps no Windows com .NET 4.8. Está concluído quando o pull mostrado for bem-sucedido usando a autenticação do Windows sem a missing-callback exception.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- azure, csharp, git
- Domínio
- authentication, backend, operating-systems
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100