Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Azure cannot connect to Visual Studio Team Services (aka VSTS previously VSO)

$
0
0

Hi all,

I've used the Azure portal to setup continuous deployment from my GIT repository (Visual Studio Team Services) to a web app in Azure. It is not working at the moment, any ideas on why? I've tried to create new web apps and also connecting to repositories where I actually have this setup already (i.e. the repository should be OK).

I get this error:

Failed to set up continuous deployment
DESCRIPTIONFailed to set up continuous deployment for web app myproject, using Visual Studio Team Services. Repository 'UpdateSiteSourceControl' operation failed with System.InvalidOperationException: Vso GetRepository: Cannot find repository https://myaccount.visualstudio.com/DefaultCollection/_git/myproject
   at Microsoft.Web.Hosting.SourceControls.VsoProxy.<GetRepository>d__3f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.Hosting.Administration.VsoSiteRepositoryProvider.<UpdateSiteSourceControl>d__6.MoveNext().

After unlinking my team services account, linking it again and granting oauth permissions I get this error (similar but not the same):

Failed to set up continuous deployment for web app myproject, using Visual Studio Team Services. Repository 'UpdateSiteSourceControl' operation failed with Microsoft.Web.Hosting.SourceControls.OAuthException: Vso ListRepositories(SOMENUMBER@live.com): (401) Unauthorized.
   at Microsoft.Web.Hosting.SourceControls.VsoProxy.<ProcessResponse>d__83`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.Hosting.SourceControls.VsoProxy.<ListRepositories>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.Hosting.SourceControls.VsoProxy.<GetRepository>d__3f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.Hosting.Administration.VsoSiteRepositoryProvider.<UpdateSiteSourceControl>d__6.MoveNext().

I hope that this is temporary but all ideas and suggestions are welcome.




Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>