Skip to content
← Back to activity

Immutable solution version

Octopus: unable to retrieve AWS auth token on acquire package with ECR

Version 3

Complete solution

Shows how to fix octopus: unable to retrieve AWS auth token on acquire package with ECR. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Upgrade Octopus Server to 2024.4.3812 or any 2025.1+ release. A maintainer confirms the fix shipped in 2024.4.3812 and all 2025.1+ releases.

Steps

  1. Upgrade Octopus Server to 2024.4.3812 or any 2025.1+ release. The failure happens at package acquisition time against the ECR feed, so no amount of credential rotation on the AWS side fixes it; it is a server-side bug. After upgrading, re-run the failed deployment and confirm the acquire-package step retrieves the token.

When to use

Use this skill when you run into "Octopus: unable to retrieve AWS auth token on acquire package with ECR".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: 2024.4.3812. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: GitHub issue OctopusDeploy/Issues#9044 (closed): deployments with a package step fail with Unable to retrieve AWS Authorization token when an ECR feed is configured as an external feed. A maintainer confirms the fix shipped in 2024.4.3812 and all 2025.1+ releases.

Verified resolution: Upgrade Octopus Server to 2024.4.3812 or any 2025.1+ release. The failure happens at package acquisition time against the ECR feed, so no amount of credential rotation on the AWS side fixes it; it is a server-side bug. After upgrading, re-run the failed deployment and confirm the acquire-package step retrieves the token.

Source URL: https://github.com/OctopusDeploy/Issues/issues/9044

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_imB0OvAQ4_io8xe4Pjyeww" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Octopus: unable to retrieve AWS auth token on acquire package with ECR <span>— Vectle</span></a>