Repository: pytorch/pytorch

Issue #81760: pytorch conda repo broke today
Created: 2022-07-20T12:03:03Z
🐛 Describe the bug
Since today it's no longer possible to install pytorch using conda.
I'm installing pytorch almost every day on multiple machines using conda and a couple hours ago it stopped working.
conda install -y pytorch torchvision torchaudio torchtext -c pytorch -k
gives the following errors:
Downloading and Extracting Packages
pytorch-mutex-1.0    | 3 KB      |                                                                              |   0%
pytorch-1.12.0       | 1.19 GB   |                                                                              |   0%

CondaHTTPError: HTTP 403 FORBIDDEN for url <https://conda.anaconda.org/pytorch/noarch/pytorch-mutex-1.0-cuda.tar.bz2>
Elapsed: 00:00.435837

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 403 FORBIDDEN for url <https://conda.anaconda.org/pytorch/win-64/pytorch-1.12.0-py3.9_cuda11.3_cudnn8_0.tar.bz2>
Elapsed: 00:00.085034

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

It happens on all platforms (Windows/macOS/Linux).
Opening one of these links give the following xml data:
<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<X-Amz-Expires>60</X-Amz-Expires>
<Expires>2022-07-20T11:36:02Z</Expires>
<ServerTime>2022-07-20T11:55:47Z</ServerTime>
<RequestId>87CJV79FMQCZW8QC</RequestId>
<HostId>afF/b8QnRCMaIJORa01QgpxxMEvJGrF0BY4jYiMi88MfpKy+LHr8+hBtipM008oKDMsTqYnz/PE=</HostId>
</Error>

Which, combined with the url which converts to an amazonaws url, seems to point to an AWS issue.
Versions
Pytorch 1.12, latest conda
cc @ezyang @gchanan @zou3519 @seemethere @malfet

Duplicate issue #81798: 403 when trying to get multiple pytorch components
Created: 2022-07-20T19:04:13Z
🐛 Describe the bug
As part of a dockerfile we're conda installing multiple components from a yml.
Today we are getting these errors:
CondaHTTPError: HTTP 403 FORBIDDEN for url https://conda.anaconda.org/pytorch/noarch/pytorch-mutex-1.0-cuda.tar.bz2
Elapsed: 00:00.298984
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url https://conda.anaconda.org/pytorch/linux-64/pytorch-1.10.1-py3.9_cuda11.3_cudnn8.2.0_0.tar.bz2
Elapsed: 00:00.073712
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url https://conda.anaconda.org/pytorch/linux-64/torchaudio-0.10.1-py39_cu113.tar.bz2
Elapsed: 00:00.304133
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url https://conda.anaconda.org/pytorch/linux-64/torchvision-0.11.2-py39_cu113.tar.bz2
Elapsed: 00:00.075025
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
I tried to build the docker image multiple times.  Then, got the same 403 error just trying to access any of the components directly via a browser.
Versions
N/A

Closing comment (2022-07-21T00:08:48Z): This is a Conda issue - conda/conda#11638
Closing this as a duplicate of #81760