Code Monkey home page Code Monkey logo

Comments (12)

congyiwu avatar congyiwu commented on July 21, 2024 2

This is a known regression in curl 7.61.0, which ships with Ubuntu 18.10. The regression was fixed in curl 7.61.1, but Ubuntu 18.10 doesn't have this fix yet. See (and upvote) https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1805203

from git-credential-manager-for-mac-and-linux.

bihe avatar bihe commented on July 21, 2024 1

Same for me - worked with openjdk10 on ubuntu 18.04 but stopped working with 18.10 openjdk11 and git 2.19.1

Seems not to be related with the java version. Tried with openjdk8, oraclejdk8 and openjdk11. Same result for all combinations.

Ubuntu 18.10 / Linux linux-ws 4.18.0-10-generic #11-Ubuntu SMP x86_64
git: 2.19.1
java: openjdk version "11.0.1" 2018-10-16

Debug-Info:
(I've replaced, tennant, project, guids, ...)

------------------------------------
OAuth 2.0 Device Flow authentication
------------------------------------
To complete the authentication process, please open a web browser and visit the following URI:
https://microsoft.com/devicelogin
When prompted, enter the following code:
<Device-Auth-Code>
Once authenticated and authorized, execution will continue.
   token acquisition succeeded.
   token successfully acquired.
BaseVsoAuthentication::storeRefreshToken
SecretCache::writeToken
SecretCache::_getTargetName
Secret::uriToName
   target name = ada:https://<my-tennant>.visualstudio.com
BaseVsoAuthentication::generatePersonalAccessToken
VsoAzureAuthority::generatePersonalAccessToken
   using token to acquire personal access token
VsoAzureAuthority::populateTokenTargetId
VsoAzureAuthority::createConnectionDataRequest
   validating token
   target identity is <identity-guid>
   parsed identity service url: https://app.vssps.visualstudio.com/A<identity-guid>/
   creating access token scoped to 'vso.code_write' for '<identity-guid>'
   personal access token acquisition succeeded.
SecretStore::writeCredentials
SecretStore::getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
BaseSecureStore::writeCredential
Adding a Credential for git:https://<my-tennant>.visualstudio.com
SecretCache::writeCredentials
SecretCache::_getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
   successfully retrieved stored credentials, updating credential cache
BaseVsoAuthentication::validateCredentials
VsoAzureAuthority::validateCredentials
   server returned: 200
   credentials found
Configuration::loadGitConfiguration
Configuration::ParseGitConfig
Configuration::ParseGitConfig
   alias.up = pull --rebase --autostash
   branch.master.merge = refs/heads/master
   branch.master.remote = origin
   core.bare = false
   core.filemode = true
   core.logallrefupdates = true
   core.repositoryformatversion = 0
   credential.canFallBackToInsecureStore = true
   credential.helper = !java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/henrik/bin/git-credential-manager.jar
   remote.origin.fetch = +refs/heads/*:refs/remotes/origin/*
   remote.origin.url = https://<my-tennant>.visualstudio.com/DefaultCollection/<Project>/_git/<Git-Repo>
   user.email = <Email>
   user.name = Henrik Binggl
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
   canFallBackToInsecureStore = true
Program::EnableTraceLogging
Program::erase
   targetUri = https://<my-tennant>.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Try access gnome-keyring with dummy data to make sure it's accessible...
Getting a persistent token store that could be secure
Getting a persistent credential store that could be secure
Program::createAuthentication
   detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
   detected visualstudio.com, checking AAD vs MSA
   server has responded
   AAD authority for tenant '<AAD-guid>' detected
   authority is Azure Directory
BaseVsoAuthentication::deleteCredentials
SecretStore::getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
BaseSecureStore::readCredentials
Getting Credential for git:https://<my-tennant>.visualstudio.com
SecretStore::deleteCredentials
SecretStore::getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
BaseSecureStore::delete
Getting PersonalAccessToken for git:https://<my-tennant>.visualstudio.com
Could not retrieve secret from storage.
Return code: 9 description: No matching results
Getting Credential for git:https://<my-tennant>.visualstudio.com
Deleting Credential for git:https://<my-tennant>.visualstudio.com
SecretCache::deleteCredentials
SecretCache::_getTargetName
Secret::uriToName
   target name = git:https://<my-tennant>.visualstudio.com
fatal: Authentication failed for 'https://<my-tennant>.visualstudio.com/DefaultCollection/<Project>/_git/<Git-Repo>/'
error: Could not fetch origin

from git-credential-manager-for-mac-and-linux.

joejustesen avatar joejustesen commented on July 21, 2024 1

I cannot get git 2.19.1 on Ubuntu 18.10 to work. I end up with the same error of "Authentication failed". This was working a few days ago before my fresh 18.10 install. I was running 18.04 until I did a fresh install yesterday.

Anybody find a work around?

from git-credential-manager-for-mac-and-linux.

JoseFMP avatar JoseFMP commented on July 21, 2024

Same here

from git-credential-manager-for-mac-and-linux.

srinivaskarteek avatar srinivaskarteek commented on July 21, 2024

Same here

from git-credential-manager-for-mac-and-linux.

srinivaskarteek avatar srinivaskarteek commented on July 21, 2024

Any solution??

from git-credential-manager-for-mac-and-linux.

 avatar commented on July 21, 2024

Try to use SSH, or install GitKraken on your Ubuntu 18.10. I found that problem after updating ubuntu 18.04 to 18.10.

from git-credential-manager-for-mac-and-linux.

JoseFMP avatar JoseFMP commented on July 21, 2024

For me same problem with SSH and using GitKraken, and other clients such as the one of Rider.

from git-credential-manager-for-mac-and-linux.

ganesh-karewad avatar ganesh-karewad commented on July 21, 2024

same here, any solution?

from git-credential-manager-for-mac-and-linux.

spmp avatar spmp commented on July 21, 2024

I upgraded from 14.04 today to Ubuntu 18.10 and have come across this issue. I tried building the latest git from ... git.. and earlier versions down to 2.1.4. None succeeded. I have ended up using SSH.
This suggests to me it may be a dependency or other library that is at fault. libssl versions 1.0 and 1.1 were tried with no effect.

from git-credential-manager-for-mac-and-linux.

JoseFMP avatar JoseFMP commented on July 21, 2024

Same here. I tried with 2.19.1, 2.19.2, and some others.
Not working.

https://stackoverflow.com/questions/53106546/cannot-clone-git-from-azure-devops-using-pat

from git-credential-manager-for-mac-and-linux.

JoseFMP avatar JoseFMP commented on July 21, 2024

@congyiwu thank you so much. I will try that out.

from git-credential-manager-for-mac-and-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.