urlchecker-action icon indicating copy to clipboard operation
urlchecker-action copied to clipboard

Action Failure Due to Error "Unauthorized - authentication required"

Open mrmundt opened this issue 1 year ago • 6 comments

Hi @vsoch ! Just wanted to start with you rock, a lot.

I started getting failures today of this variety:

Build container for action use: '/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34/Dockerfile'.
  /usr/bin/docker build -t 6c0442:83fed8efed704cb1a6203fdb1efd4333 -f "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34/Dockerfile" "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34"
  Sending build context to Docker daemon  28.08MB
  
  Step 1/4 : FROM ghcr.io/urlstechie/urlchecker:0.0.34
  Head "https://ghcr.io/v2/urlstechie/urlchecker/manifests/0.0.34": Get "https://ghcr.io/token?scope=repository%3Aurlstechie%2Furlchecker%3Apull&service=ghcr.io": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
  Warning: Docker build failed with exit code 1, back off 5.737 seconds before retry.
  /usr/bin/docker build -t 6c0442:83fed8efed704cb1a6203fdb1efd4333 -f "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34/Dockerfile" "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34"
  Sending build context to Docker daemon  28.08MB
  
  Step 1/4 : FROM ghcr.io/urlstechie/urlchecker:0.0.34
  Head "https://ghcr.io/v2/urlstechie/urlchecker/manifests/0.0.34": Get "https://ghcr.io/token?scope=repository%3Aurlstechie%2Furlchecker%3Apull&service=ghcr.io": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
  Warning: Docker build failed with exit code 1, back off 5.216 seconds before retry.
  /usr/bin/docker build -t 6c0442:83fed8efed704cb1a6203fdb1efd4333 -f "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34/Dockerfile" "/home/runner/work/_actions/urlstechie/urlchecker-action/0.0.34"
  Sending build context to Docker daemon  28.08MB
  
  Step 1/4 : FROM ghcr.io/urlstechie/urlchecker:0.0.34
  Head "https://ghcr.io/v2/urlstechie/urlchecker/manifests/0.0.34": Get "https://ghcr.io/token?scope=repository%3Aurlstechie%2Furlchecker%3Apull&service=ghcr.io": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Error: Docker build failed with exit code 1

The error is "UNAUTHORIZED - authentication required." Any help would be appreciated :)

mrmundt avatar Mar 15 '23 14:03 mrmundt

Example for your perusal: https://github.com/USRSE/usrse23/actions/runs/4427134173/jobs/7764390569

mrmundt avatar Mar 15 '23 14:03 mrmundt

@mrmundt !! :wave: :joy:

This looks to be an issue with the packages registry:

image

https://www.githubstatus.com/

I can't even do a local pull at the moment (it hangs).

So my advice for now is to give GitHub a hugops, and try again (hopefully) later today when they have fixed it!

vsoch avatar Mar 15 '23 14:03 vsoch

ooh it just turned red! Terrible but somehow exciting. image

vsoch avatar Mar 15 '23 14:03 vsoch

Screen Shot 2023-03-15 at 08 22 42

mrmundt avatar Mar 15 '23 14:03 mrmundt

OKAY! I hoped it was just some funkiness, but I wanted to let you know anyway :D

mrmundt avatar Mar 15 '23 14:03 mrmundt

Thank you! :turkey: The sad thing is that a lot of actions (that have a prebuilt image) are probably failing right now. :sob: Hugops to all! :people_hugging:

vsoch avatar Mar 15 '23 14:03 vsoch