-
Notifications
You must be signed in to change notification settings - Fork 451
Error: Failed Request: Unauthorized(401) #274
Comments
Hi @5lao2. You appear to be running into the same issue as #246. Unfortunately, it appears the issue is with the underlying library used by the extension to perform the NTLM authentication. If you're willing, I'd be interested in knowing what the results are from running the test application I provided here. You'll have to install gulp via npm and update the URL and credentials but it should help determine if it's the same issue. |
Hi Guys, I am using extension version 1.122.0 and Microsoft Visual Studio Team Foundation Server Version 15.112.26301.0. I am getting the issue with [01608] Failed call with repositoryClient: Unauthorized. Check your authentication credentials and try again. Error: Error: Failed Request: Unauthorized(401) - https://...../_apis/tfvc/branches. when I use Tf cmd line I do not have problems but when I try to team: Signin is not working and I am not able to log IN. Any idea what is the issue? I saw "Ensure Keep-Alive" but I do not know where to set up the parameter. Best regards |
@hmendezm It's the Node module they use for NTLM auth that's causing the issue. |
I'm using 1.133.0 and our local 2015 TFS server running (not hosted on the Internet) and noticed the same thing with the accounts being locked out after exceeding the maximum number of bad password attempts We are using the highest LAN Manager Authentication setting: Send NTLMv2 response only. Refuse LM & NTLM. To reproduce the problem I was having: Set the LAN Manager Authentication setting to the highest level: Send NTLMv2 response only. Refuse LM & NTLM on the client and TFS Server. Authentication attempts will result in bad password attempts using the current NTLM implementation employed by vscode/vsts. |
@tmmukunn Any way you could share the modified version? |
Same issue here. local TFS: 16.131.27701.1 (Tfs2018.Update2) |
What's the status on this issue? How do we fix it for the NTLMv2 incompatibility with vscode? I can't sign in because of this on vscode I'm forced to use visual studio |
I also have the same issue. I'm using Azure Repos v1.144.1 and VSCode 1.31.1 |
V 2.5 |
I receive the same issues on the log, I'm using smart card, so I can't honestly know my end password, only the PIN for the smartcard. So what should be provided as "usedefaultcredentials", when using powershell I need to set this way.
|
I believe this issue is affecting me in Azure Repos 1.161.0 with VSCode 1.43.0. I get "Unauthorized" at the bottom when I try to "Team: Signin" My PC is in a different domain than our TFS server. When I attempt to Sign-in with a username from the same domain as our TFS server, I get "No team project found for this repository. Build and Work Item functionality has been disabled."—Because the same-domain account I'm using doesn't have much-if-any access to TFS. |
I got the same message until I followed @BinarySpike 's advice. And it worked. Thanks a lot @BinarySpike |
I‘m using the latest version 1.119.0 for visual studio team services, but when I trying to use TFVC to connect TFS, Multiple attempts to do Team: Signin end up locking my account.
debug: [10188] Error: Failed Request: Unauthorized(401) - https://***/tfs/defaultcollection/_apis/tfvc/branches
I saw the issue #59, that means Ensure Keep-Alive is true for HTTPS connections can resolve this issue, it seems the latest version already resolved this issue, but I still met the same issue.
The text was updated successfully, but these errors were encountered: