Trying to push a large change from a github repo to a mirror on gitlab.com
The error returns “timing information for debug” which indicates the timeout occurs in “Detecting secrets…” Which I am trying to disable with the CLI flag from this article, but it has no effect.
jared@Mac x % git push -u origin -o secret_push_protection.skip_all --no-verify 19.0
Enumerating objects: 263160, done.
Counting objects: 100% (263159/263159), done.
Delta compression using up to 16 threads
Compressing objects: 100% (84586/84586), done.
Writing objects: 100% (252546/252546), 144.95 MiB | 2.06 MiB/s, done.
Total 252546 (delta 192554), reused 210697 (delta 162983), pack-reused 0
remote: Resolving deltas: 100% (192554/192554), completed with 7871 local objects.
remote: Checking connectivity: 252469, done.
remote: GitLab: Push operation timed out
remote: 
remote: Timing information for debugging purposes:
remote: Running checks for ref: 19.0
remote: Checking if you are allowed to push... (11.13ms)
remote: Checking if default branch is being deleted... (0.02ms)
remote: Scanning repository for blobs stored in LFS and verifying their files have been uploaded to GitLab... (332.64ms)
remote: Checking for blobs over the file size limit (483.2ms)
remote: Checking if branch follows the naming patterns defined by the project... (0.73ms)
remote: Detecting secrets... (cancelled after 55979.66ms)
remote: Running checks for 1 changes (cancelled after 56857.62ms)
To https://gitlab.com/x.git
 ! [remote rejected]           19.0 -> 19.0 (pre-receive hook declined)
error: failed to push some refs to 'https://gitlab.com/x.git'
I’ve tried switching back and forth between SSH and HTTP for gitlab repo.
I’ve sent chunks like git push -o secret_push_protection.skip_all --no-verify origin HEAD~221:refs/heads/x
And ultimately narrowed it down to a single commit. I either get a 500 error that is not explained, or “GitLab: Push operation timed out” with very high timing on “remote: Detecting secrets… (cancelled after 56666.32ms)”
This seems like an infrastructure error or the -o secret_push_protection.skip_all no longer works (bug).
The timing and error is the same regardless of if I send the push option or not.