com.microsoft.alm.oauth2.useragent.AuthorizationException: Code: cancelled Description: The browser window was closed by the user.

GitHub | columan | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to push to VSTS

    GitHub | 9 months ago | columan
    com.microsoft.alm.oauth2.useragent.AuthorizationException: Code: cancelled Description: The browser window was closed by the user.

    Root Cause Analysis

    1. com.microsoft.alm.oauth2.useragent.AuthorizationException

      Code: cancelled Description: The browser window was closed by the user.

      at com.microsoft.alm.oauth2.useragent.AuthorizationResponse.fromString()
    2. com.microsoft.alm
      VsoAuthInfoProvider$1.run
      1. com.microsoft.alm.oauth2.useragent.AuthorizationResponse.fromString(AuthorizationResponse.java:109)
      2. com.microsoft.alm.oauth2.useragent.UserAgentImpl.encode(UserAgentImpl.java:190)
      3. com.microsoft.alm.oauth2.useragent.UserAgentImpl.requestAuthorizationCode(UserAgentImpl.java:150)
      4. com.microsoft.alm.auth.oauth.AzureAuthority.acquireAuthorizationCode(AzureAuthority.java:249)
      5. com.microsoft.alm.auth.oauth.AzureAuthority.acquireToken(AzureAuthority.java:190)
      6. com.microsoft.alm.auth.oauth.OAuth2Authenticator$1.doRetrieve(OAuth2Authenticator.java:172)
      7. com.microsoft.alm.auth.oauth.OAuth2Authenticator$1.doRetrieve(OAuth2Authenticator.java:161)
      8. com.microsoft.alm.auth.BaseAuthenticator$SecretRetriever.retrieve(BaseAuthenticator.java:207)
      9. com.microsoft.alm.auth.oauth.OAuth2Authenticator.getOAuth2TokenPair(OAuth2Authenticator.java:214)
      10. com.microsoft.alm.provider.JaxrsClientProvider.getClient(JaxrsClientProvider.java:103)
      11. com.microsoft.alm.provider.JaxrsClientProvider.getClient(JaxrsClientProvider.java:72)
      12. com.microsoft.alm.plugin.authentication.facades.VsoAuthInfoProvider$1.run(VsoAuthInfoProvider.java:99)
      12 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames