You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 simple workflows to make tests on 2 self-hosted runners, each of which runs on the specified runner. The runners run the jobs successfully. However when the checkout runs, it fails with the following error at the Fetching the repository stage:
Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +371b77b07763[38](https://gitea.kozmotronik.com.tr/KozmotronikTech/Karalama/actions/runs/8#jobstep-4-38)6ae833ad4b1bd1ba324469ad60:refs/remotes/origin/main
fatal: unable to access 'https://gitea.kozmotronik.com.tr/KozmotronikTech/Karalama/': Failed to connect to gitea.kozmotronik.com.tr port 443 after 7 ms: Couldn't connect to server
The process '/usr/bin/git' failed with exit code 128
Waiting 12 seconds before trying again
Tried fetching the repo from within the docker runner container
I tried replicating the process manually from within the runner's docker container in 2 ways:
Partial replication: In this method I just replicated the initializing the repository and the Fetching the repository steps of the checkout action.
Quasi full replication: In this method I replicated the initializing the repository, Setting up auth and the Fetching the repository steps of the checkout action, respectively.
I managed to fetch the repo successfully in both methods. What should I do in this case?
Action content
The content of the both files are virtually same except the runs-on target and the version of the checkout; one is v3 while another is v4.
name: Gitea Actions Demorun-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀on: [push]jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-lateststeps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository codeuses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repositoryrun: | ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
Environment info
In my system everything is self-hosted, from git site to the runners.
The runner I use is the act_runner which works with Gitea. I have 2 self-hosted runners; one runs on the same machine as Gitea instance, while another runs on my local computer, both run as docker containers.
Please let me know if I could provide futher information.
Regards,
Ismail
The text was updated successfully, but these errors were encountered:
Problem Description
I have 2 simple workflows to make tests on 2 self-hosted runners, each of which runs on the specified runner. The runners run the jobs successfully. However when the
checkout
runs, it fails with the following error at theFetching the repository
stage:The repository is public, therefore this shouldn't be an access problem. You can see the complete logs at -> https://privatebin.kozmotronik.com.tr/?4dddeb6000ba8f12#G4XmdYmpV65Evc5mNR7s8UNxyDvQKgj3joAtcsr4zT1N
Tried fetching the repo from within the docker runner container
I tried replicating the process manually from within the runner's docker container in 2 ways:
checkout
action.checkout
action, respectively.Here is the workflow I executed in the container:
I managed to fetch the repo successfully in both methods. What should I do in this case?
Action content
The content of the both files are virtually same except the
runs-on
target and the version of thecheckout
; one isv3
while another isv4
.Environment info
In my system everything is self-hosted, from git site to the runners.
SCM Site
Gitea:
v1.23.5
- https://about.gitea.com/Instance: https://dev.kozmotronik.com.tr/gitea
Runners
The runner I use is the act_runner which works with Gitea. I have 2 self-hosted runners; one runs on the same machine as Gitea instance, while another runs on my local computer, both run as docker containers.
Please let me know if I could provide futher information.
Regards,
Ismail
The text was updated successfully, but these errors were encountered: