Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: when run action/checkout@v3 #1748

Open
IrwanFicoFar opened this issue May 23, 2024 · 3 comments
Open

ERROR: when run action/checkout@v3 #1748

IrwanFicoFar opened this issue May 23, 2024 · 3 comments

Comments

@IrwanFicoFar
Copy link

IrwanFicoFar commented May 23, 2024

Error: error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

Run actions/checkout@v3
Syncing repository: KeDA-Tech/KPI-Frontend
Getting Git version info
Temporarily overriding HOME='/home/runner/_work/_temp/73ebb5ce-667a-4da7-ab14-9dbf5954834f' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/_work/KPI-Frontend/KPI-Frontend
Deleting the contents of '/home/runner/_work/KPI-Frontend/KPI-Frontend'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +2deb085fc013be30c5ad0b309986acb299237268:refs/remotes/pull/476/merge
  remote: Enumerating objects: 1132, done.        
  remote: Counting objects:   0% (1/1132)        
  remote: Counting objects:   1% (12/1132)        
  remote: Counting objects:   2% (23/1132)        
  remote: Counting objects:   3% (34/1132)        
  remote: Counting objects:   4% (46/1132)        
  remote: Counting objects:   5% (57/1132)        
  remote: Counting objects:   6% (68/1132)        
  remote: Counting objects:   7% (80/1132)        
  remote: Counting objects:   8% (91/1132)        
  remote: Counting objects:   9% (102/1132)        
  remote: Counting objects:  10% (114/1132)        
  remote: Counting objects:  11% (125/1132)        
  remote: Counting objects:  12% (136/1132)        
  remote: Counting objects:  13% (148/1132)        
  remote: Counting objects:  14% (159/1132)        
  remote: Counting objects:  15% (170/1132)        
  remote: Counting objects:  16% (182/1132)        
  remote: Counting objects:  17% (193/1132)        
  remote: Counting objects:  18% (204/1132)        
  remote: Counting objects:  19% (216/1132)        
  remote: Counting objects:  20% (227/1132)        
  remote: Counting objects:  21% (238/1132)        
  remote: Counting objects:  22% (250/1132)        
  remote: Counting objects:  23% (261/1132)        
  remote: Counting objects:  24% (272/1132)        
  remote: Counting objects:  25% (283/1132)        
  remote: Counting objects:  26% (295/1132)        
  remote: Counting objects:  27% (306/1132)        
  remote: Counting objects:  28% (317/1132)        
  remote: Counting objects:  29% (329/1132)        
  remote: Counting objects:  30% (340/1132)        
  remote: Counting objects:  31% (351/1132)        
  remote: Counting objects:  32% (363/1132)        
  remote: Counting objects:  33% (374/1132)        
  remote: Counting objects:  34% (385/1132)        
  remote: Counting objects:  35% (397/1132)        
  remote: Counting objects:  36% (408/1132)        
  remote: Counting objects:  37% (419/1132)        
  remote: Counting objects:  38% (431/1132)        
  remote: Counting objects:  39% (442/1132)        
  remote: Counting objects:  40% (453/1132)        
  remote: Counting objects:  41% (465/1132)        
  remote: Counting objects:  42% (476/1132)        
  remote: Counting objects:  43% (487/1132)        
  remote: Counting objects:  44% (499/1132)        
  remote: Counting objects:  45% (510/1132)        
  remote: Counting objects:  46% (521/1132)        
  remote: Counting objects:  47% (533/1132)        
  remote: Compressing objects:  30% (248/824)        
  remote: Compressing objects:  31% (256/824)        
  remote: Compressing objects:  32% (264/824)        
  remote: Compressing objects:  33% (272/824)        
  remote: Compressing objects:  34% (281/824)        
  remote: Compressing objects:  35% (289/824)        
  remote: Compressing objects:  36% (297/824)        
  remote: Compressing objects:  37% (305/824)        
  remote: Compressing objects:  38% (314/824)        
  remote: Compressing objects:  39% (322/824)        
  remote: Compressing objects:  40% (330/824)        
  remote: Compressing objects:  41% (338/824)        
  remote: Compressing objects:  42% (347/824)        
  remote: Compressing objects:  43% (355/824)        
  remote: Compressing objects:  44% (363/824)        
  remote: Compressing objects:  45% (371/824)        
  remote: Compressing objects:  46% (380/824)        
  remote: Compressing objects:  47% (388/824)        
  remote: Compressing objects:  48% (396/824)        
  remote: Compressing objects:  49% (404/824)        
  remote: Compressing objects:  50% (412/824)        
  remote: Compressing objects:  51% (421/824)        
  remote: Compressing objects:  52% (429/824)        
  remote: Compressing objects:  53% (437/824)        
  remote: Compressing objects:  54% (445/824)        
  remote: Compressing objects:  55% (454/824)        
  remote: Compressing objects:  56% (462/824)        
  remote: Compressing objects:  57% (470/824)        
  remote: Compressing objects:  58% (478/824)        
  remote: Compressing objects:  59% (487/824)        
  remote: Compressing objects:  60% (495/824)        
  remote: Compressing objects:  61% (503/824)        
  remote: Compressing objects:  62% (511/824)        
  remote: Compressing objects:  63% (520/824)        
  remote: Compressing objects:  64% (528/824)        
  remote: Compressing objects:  65% (536/824)        
  remote: Compressing objects:  66% (544/824)        
  remote: Compressing objects:  67% (553/824)        
  remote: Compressing objects:  68% (561/824)        
  remote: Compressing objects:  69% (569/824)        
  remote: Compressing objects:  70% (577/824)        
  remote: Compressing objects:  71% (586/824)        
  remote: Compressing objects:  72% (594/824)        
  remote: Compressing objects:  73% (602/824)        
  remote: Compressing objects:  74% (610/824)        
  remote: Compressing objects:  75% (618/824)        
  remote: Compressing objects:  76% (627/824)        
  remote: Compressing objects:  77% (635/824)        
  remote: Compressing objects:  78% (643/824)        
  remote: Compressing objects:  79% (651/824)        
  remote: Compressing objects:  80% (660/824)        
  remote: Compressing objects:  81% (668/824)        
  remote: Compressing objects:  82% (676/824)        
  remote: Compressing objects:  83% (684/824)        
  remote: Compressing objects:  84% (693/824)        
  remote: Compressing objects:  85% (701/824)        
  remote: Compressing objects:  86% (709/824)        
  remote: Compressing objects:  87% (717/824)        
  remote: Compressing objects:  88% (726/824)        
  remote: Compressing objects:  89% (734/824)        
  remote: Compressing objects:  90% (742/824)        
  remote: Compressing objects:  91% (750/824)        
  remote: Compressing objects:  92% (759/824)        
  remote: Compressing objects:  93% (767/824)        
  remote: Compressing objects:  94% (775/824)        
  remote: Compressing objects:  95% (783/824)        
  remote: Compressing objects:  96% (792/824)        
  remote: Compressing objects:  97% (800/824)        
  remote: Compressing objects:  98% (808/824)        
  remote: Compressing objects:  99% (816/824)        
  remote: Compressing objects: 100% (824/824)        
  remote: Compressing objects: 100% (824/824), done.        
  Receiving objects:   0% (1/1132)
  Receiving objects:   1% (12/1132)
  Receiving objects:   2% (23/1132), 12.00 KiB | 8.00 KiB/s
  Receiving objects:   2% (24/1132), 20.00 KiB | 0 bytes/s 
  Receiving objects:   2% (27/1132), 28.00 KiB | 0 bytes/s
  Receiving objects:   3% (34/1132), 28.00 KiB | 0 bytes/s
  Error: error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
  Error: error: 6833 bytes of body are still expected
  fetch-pack: unexpected disconnect while reading sideband packet
  Error: fatal: early EOF
  Error: fatal: fetch-pack: invalid index-pack output
  Error: The process '/usr/bin/git' failed with exit code 128

whta can i do for this error ?

@AM1729
Copy link

AM1729 commented May 27, 2024

We are increasingly seeing this issue in our CI as well. However I am not sure if this is related to v3 since we are seeing this using v4.
Please let me know if you have figured anything on this.
Thanks @IrwanFicoFar

@ishtiyaq-td
Copy link

I am facing the same issues with both versions, v3 and v4.

@ishtiyaq-td
Copy link

Here's what worked for me:

name: 🚀 Test and Deploy

on:
  push:
    branches:
      - release/1.0
      - development
      - main
  workflow_dispatch:

permissions:
  issues: write
  
jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash

    #............rest of the code

Initially, I added the permissions section, but the pipeline stopped working. I found that adding contents: write to the permissions section resolved the issue. After making this change, everything worked fine.

Modified files is,

name: 🚀 Test and Deploy

on:
  push:
    branches:
      - release/1.0
      - development
      - main
  workflow_dispatch:

permissions:
  issues: write
  contents: write
  
jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash

    #............rest of the code

I hope this helps! 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants