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

windows 2022 image: chocolateyInstall.ps1 script is failing with ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (409) Conflict." #11338

Open
2 of 16 tasks
antika080 opened this issue Jan 9, 2025 · 4 comments

Comments

@antika080
Copy link

Description

windows 2022 image: chocolateyInstall.ps1 script is failing with ERROR: "The remote server returned an error: (409) Conflict."

. Performing other installation steps.
Attempt to get headers for https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (409) Conflict."
Downloading azcopy10 64 bit
from 'https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (409) Conflict."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The install of azcopy10 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\azcopy10\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

  • azcopy10 (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\azcopy10\tools\chocolateyInstall.ps1'.
    See log for details.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

NA

Is it regression?

No

Expected behavior

chocolateyInstall.ps1 script should be running without error

Actual behavior

chocolateyInstall.ps1 script fails with ERROR: "The remote server returned an error: (409)

Repro steps

run chocolateyInstall.ps1 script

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @antika080 , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @antika080 ,
kindly note that azureedge.net , will no longer be available for downloading the azcopy10.
The current url for downloading the azcopy is https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip

, It will be replaced by awgzd8g7aagqhzhe.b02.azurefd.net , in future for downloading the azcopy url will be https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip.

we have tried to new url :https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_windows_amd64_10.27.1.zip. it is working fine.

Reference: PR .
Thanks

@denyos
Copy link

denyos commented Jan 9, 2025

We are having the same issue. This is caused by the CDN migration in combination with the urls in choco.

I've raised an issue in the chocolatey repository for this:
chocolatey-community/chocolatey-packages#2611

@vidyasagarnimmagaddi
Copy link
Contributor

vidyasagarnimmagaddi commented Jan 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants