umbraco / Umbraco.Cloud.Issues

Public issue tracker for Umbraco Cloud
26 stars 2 forks source link

Cloud API For CI/CD Flow #771

Closed XHighIntell closed 2 months ago

XHighIntell commented 3 months ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

10.6.1

Bug summary

I follow this document to deployment repository. I can't make it works as document said. https://docs.umbraco.com/umbraco-cloud/set-up/project-settings/umbraco-cicd/umbracocloudapi

After Queued the deployment, I fetch for the progress every 20s and after about 8min it failed.

Project information set
Deployment pending
DownloadUri set
Deployment queued
Deployment triggered
Deployment started
Check blocking markers
Create updating marker
Git Clone
Download update
Extract Update
Checking versions
Deleting repository files
Copying files to repository
NuGet Restore
Dotnet Build
Git Stage
Git Commit
Git Tag
Git Push
Delete updating marker
Error retrying step, number of tries: 5. (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays)
n : too many redirects or authentication replays encountered while trying to push update d3d34ff9-aec6-4f88-a018-4132bbd83842
warn: Error fetching git history from kudu Operation returned an invalid status code 'InternalServerError'
warn: Error executing step Push, retrying in 00:00:10!
info: Pushing repository https://dev-unisonsteadfast.scm.euwest01.umbraco.io/4c8f74ed-3275-4703-8f20-ba739605beb0.git
warn: LibGit2Sharp.LibGit2SharpException : too many redirects or authentication replays encountered while trying to push update d3d34ff9-aec6-4f88-a018-4132bbd83842
warn: Error fetching git history from kudu Operation returned an invalid status code 'InternalServerError'
warn: Error executing step Push, retrying in 00:00:10!
fail: Update failed with message: Error retrying step, number of tries: 5. (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays)
crit: Error executing step: Umbraco.Cloud.Deployment.UpdateExecutor.Foundation.Steps.Post.Git.Push Error retrying step, number of tries: 5. (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays) (too many redirects or authentication replays)
info: Publishing update failed event
fail: Error executing ExceptionHandler: Umbraco.Cloud.Deployment.UpdateExecutor.Foundation.ExceptionHandlers.PublishUpdateFailedEventExceptionHandler Value cannot be null. (Parameter 'Exception')
info: Executing step: Delete updating marker
info: Start processing HTTP request DELETE https://***.scm.euwest01.umbraco.io/api/vfs/site/locks/updating
info: Sending HTTP request DELETE https://***.scm.euwest01.umbraco.io/api/vfs/site/locks/updating
info: Received HTTP response headers after 276.7332ms - 200
info: End processing HTTP request after 279.6081ms - 200
info: Executed step: Delete updating marker

Specifics

No response

Steps to reproduce

Just following up on this https://docs.umbraco.com/umbraco-cloud/set-up/project-settings/umbraco-cicd/umbracocloudapi, we will be able to reproduce the error.

Expected result / actual result

No response

github-actions[bot] commented 3 months ago

Hi there @XHighIntell!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

meyntony commented 3 months ago

@XHighIntell Have you tried comparing your code with the sample scripts provided by us?

XHighIntell commented 3 months ago

@meyntony After I wrote in C# and I got that error. I think maybe I didn't understand it correctly. I copied the sample scripts for Github, after running for a while I got the same error message as in my C#.

meyntony commented 3 months ago

@XHighIntell This issue seems specific to your cloud project and not a general issue, so could you reach out to support with the details of your project?

XHighIntell commented 3 months ago

@meyntony I sent a message to the support team, I will update if they can solve it.

mikkelhm commented 2 months ago

Hey @XHighIntell. I'm closing this issue on the tracker, seems like you got a hold of our Support team, and I can see that there have been successful deployments since the creation of this issue. If I'm wrong and the issue persists, please create a new issue on the tracker.

Kind regards - Mikkel