question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random 403 errors when pushing to GHCR

See original GitHub issue

Troubleshooting

Pushing to GHCR seems to randomly resulting in 403s in the last 24 hours. Rerunning the GH action seems to resolve things (partially).

Behaviour

See above.

Failure message : buildx failed with: error: failed to solve: unexpected status: 403 Forbidden

Steps to reproduce this issue

  1. Kick off GH action to rebuild Docker images
  2. See https://github.com/jauderho/dockerfiles/actions
  3. Check one of the recent failed runs. For example, https://github.com/jauderho/dockerfiles/actions/runs/1255324536

Expected behaviour

Builds should complete with no issue.

Actual behaviour

See https://github.com/jauderho/dockerfiles/actions/runs/1255324536

Configuration

https://github.com/jauderho/dockerfiles/blob/main/.github/workflows/tailscale.yml

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:26 (3 by maintainers)

github_iconTop GitHub Comments

39reactions
onedr0pcommented, Sep 23, 2021

After a couple more hours of debugging I fixed it with this under the package settings, or the problem resolved itself.

It doesn’t make sense why this would be needed for one image package in my repo and not the other image packages in the same repo.

image

9reactions
revolunetcommented, Sep 23, 2021

You can find it in https://github.com/orgs/[XXX]/packages/container/[YYY]/settings

or by going to the package page then “package settings”

Read more comments on GitHub >

github_iconTop Results From Across the Web

github action with docker makes error "exporting to image ...
But my partner push code to main branch, it makes 403 forbidden error. I don't know how to solve this problem... How to...
Read more >
'403 Forbidden' error message when pushing to a GitHub ...
This article discusses a problem that may occur when you try to push to a remote GitHub repository using HTTPS from an A2...
Read more >
Github down? Current service status and errors
Real-time Github status and problems. Is Github down, not working properly or are you getting error messages? Here you see what is going...
Read more >
Insufficient errors `push`ing to a non-existent artifact registry ...
I incorrectly specified a repository and the command to create it failed. push 'ing to the non-existent repo, produces insufficient errors. What ...
Read more >
How do I troubleshoot HTTP 403 errors from API Gateway?
Short description. An HTTP 403 response code means that a client is forbidden from accessing a valid URL. The server understands the request, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found