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

Repository not found #395

Open
ntoskrnl opened this issue Nov 27, 2020 · 13 comments
Open

Repository not found #395

ntoskrnl opened this issue Nov 27, 2020 · 13 comments

Comments

@ntoskrnl
Copy link

We've been using actions/checkout@v1 with default configuration (no parameters) an everything was ok.

Now we are getting error on fetching repo:

Error: fatal: repository 'https://github.com/...' not found

It's a private repo in our organization. Here's the full log.

Run actions/checkout@v1
  with:
    clean: true
Syncing repository: ...
git version
git version 2.29.2
git lfs version
git-lfs/2.12.1 (GitHub; linux amd64; go 1.13.4)
git init "/home/runner/work/..."
Initialized empty Git repository in /home/runner/work/.../.git/
git remote add origin https://github.com/TacitInnovations/RestoLinkx-Android
git config gc.auto 0
git config --get-all http.https://github.com/....extraheader
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Warning: Git fetch failed with exit code 128, back off 4.377 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Warning: Git fetch failed with exit code 128, back off 1.093 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Error: Git fetch failed with exit code: 128
Error: Exit code 1 returned from process: file name '/home/runner/runners/2.274.2/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.v1_0.CheckoutTask, Runner.Plugins"'.

Tried with latest version – same error.

@szepeviktor
Copy link

Duplicate of #394

@dilip-panwar-by
Copy link

We are also facing the same issue. We are using actions/checkout@v1

@theboolean
Copy link

It seems related to a Github Actions major outage: https://www.githubstatus.com/

@FiorellaChilcon
Copy link

FiorellaChilcon commented Nov 27, 2020

I'm facing the same issue

@p-bojkowski
Copy link

Same here :(

image

@jajaislanina
Copy link

We are having the same issue as well when trying to checkout additional (tools) repo.
Main checkout works as expected.

@yhrabovskyinomi
Copy link

So any ideas how to fix this?

@MrBTTF
Copy link

MrBTTF commented Dec 16, 2020

@yhrabovskyinomi I just created Personal access token and it worked

@yhrabovskyinomi
Copy link

this is weird. I've re-created same token with same permissions and it started to work too. Magic xD

@rickstaa
Copy link

@ntoskrnl For me, this also started working when creating a new github acces token and adding it to my workflow.

@ace03uec
Copy link

ace03uec commented May 5, 2021

Is someone seeing this again ? There is this which is ongoing at the moment.
https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/

@NitikaKuhar
Copy link

Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/main*:refs/remotes/origin/main* +refs/tags/main*:refs/tags/main*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/<org>/<repo name>/' not found
  The process '/usr/bin/git' failed with exit code 128
  Waiting 16 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/main*:refs/remotes/origin/main* +refs/tags/main*:refs/tags/main*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/<org>/<repo name>/' not found not found
  The process '/usr/bin/git' failed with exit code 128
  Waiting 18 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/main*:refs/remotes/origin/main* +refs/tags/main*:refs/tags/main*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/<org>/<repo name>/' not found' not found
  Error: The process '/usr/bin/git' failed with exit code 128

I am also getting the same issue. How to fix it?

@ctolkien
Copy link

ctolkien commented Sep 20, 2021

We're hitting this as well. In our case we have 2 jobs, both start with a checkout, the first works fine, the second fails on the submodules.

Edit, OK we had to set the setting to not clear the credentials.

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