Azure Bitbucket Deployment Not working Whats happening

Lars Christiansen 21 Reputation points
2021-02-24T14:51:25.53+00:00

Failed to set up deployment: Repository 'UpdateSiteSourceControl' operation failed with Microsoft.Web.Hosting.SourceControls.OAuthException: Bitbucket AddSSHKey: (400) BadRequest.
at Microsoft.Web.Hosting.SourceControls.BitbucketV2Proxy.<AddSSHKey>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Web.Hosting.Administration.BitbucketV2SiteRepositoryProvider.<UpdateSiteSourceControl>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass278_1.<<UpdateSiteSourceControl>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Web.Hosting.AsyncHelper.RunSyncTResult
at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl).

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Lars Christiansen 21 Reputation points
    2021-02-25T19:37:00.657+00:00

    Thanks I tried all this already. No hooks on that url. On other apps same error as before. however there was another as well:

    [WebsitesExtension] 7:32:21 PM DeploymentCenterFrameBladeReact DeploymentCenterFrameBladeReact: [DeploymentCenterFrameBladeReact][updateSourceControlResponse][failed] - Repository 'UpdateSiteSourceControl' operation failed with Microsoft.Web.Hosting.SourceControls.OAuthException: Bitbucket RemoveSSHKey: (404) NotFound.
    at Microsoft.Web.Hosting.SourceControls.BitbucketV2Proxy.<RemoveSSHKey>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Web.Hosting.SourceControls.BitbucketV2Proxy.<AddSSHKey>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---

    0 comments No comments

  2. Lars Christiansen 21 Reputation points
    2021-02-25T19:45:22.427+00:00

    We have many problems with azure and BitBucket but this of course is a showstopper

    0 comments No comments