Urgent.News

What's breaking now, across thousands of outlets.

Tech

Docker unexpected status code from registry in CI

A docker unexpected status code from registry message tells you which client gave up, and each of the three clients in play words it differently and fires on a different range of status codes. Read the wording first: it decides whether you are looking at a registry outage worth retrying or an authorization decision that will be identical on every attempt. The distribution client only reaches its…

When a Docker client encounters an unexpected status code from a registry during a CI pipeline, it can indicate different issues depending on the client and the specific status code. The distribution client provides a generic error message, while the containerd client includes additional details like the method and URL. The token exchange process may also fail, resulting in errors that are attributed to the authorization server.

Common causes for these errors include insufficient scope in the token, problems with the registry or token service, missing or incorrect credentials, and misconfigured references to the registry. To resolve these issues, ensure that the token has the appropriate scope for the job, retry only on specific status codes like 5xx errors, log in to the correct registry, and use separate pull and push tokens.

It is also important to log in to all relevant registries and specify the full registry reference in the job. Understanding the different error codes and their meanings can help diagnose and fix Docker-related issues in CI workflows.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

JWT-Secured Authorization Requests Need Their Own Replay Boundary

JWT-Secured Authorization Requests Need Their Own Replay Boundary An OAuth authorization request is usually a URL full of query parameters.

  • JWT-Secured Authorization Requests need unique replay boundary
  • Authorization server must validate JWS, iss, and aud claims
  • Server should record client, redirect URI, scopes, and transaction ID

Detect 5-Axis Rotary Reversals Before They Become Surface Marks

A collision check answers an important question: does the modeled tool assembly intersect the modeled part, fixture or machine envelope?

  • Python script analyzes rotary axis reversals in toolpath
  • Flags reversals when linear speed drops and rotary velocity changes sign
  • Engineers examine contact geometry and surface conditions at flagged timestamps

Larp Detected; Assignment Rejected

There is a beautiful moment after submitting homework when the assignment stops being your problem. You close the tabs. Forget the notation. Become someone who has never heard of question three.

  • GradeProof assesses students' understanding of homework.
  • App conducts a five-minute oral examination focusing on reasoning.
  • Scoring system recognizes genuine understanding without penalizing accents.

Cache Gradle GitHub Actions builds, and Maven, with numbers

To cache Gradle GitHub Actions runs, use gradle/actions/setup-gradle , which keeps the whole Gradle User Home rather than the dependency folder alone; for Maven, use actions/setup-java with cache…

  • Gradle cache saved 22.0 seconds per run in test project
  • Maven cache saved 10.3 seconds in test project
  • Use dedicated actions for Maven and Gradle to manage caches

More from Sunday 15 November →