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

Failing to download yarn from github on windows (and now linux too) #37

Open
kalgen432 opened this issue Sep 11, 2023 · 0 comments
Open

Comments

@kalgen432
Copy link
Contributor

On a fresh pull and docker-compose up of the launcher, it fails to download yarn from github with 403 forbidden.

% docker run screepers/screeps-launcher
2023/09/11 14:01:39 Installing Yarn
2023/09/11 14:01:40 yarn-v1.22.19.tar.gz
2023/09/11 14:01:40 Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-v1.22.19.tar.gz...
2023/09/11 14:01:40 403 Forbidden
2023/09/11 14:01:40 downloaded 0/0 bytes (0.00%)
2023/09/11 14:01:40 Download failed: server returned 403 Forbidden

Screeps launcher includes a User-Agent: screeps-launcher field, so initially I thought it might have blacklisted that agent. But a rebuild of the container seems to fix it.

% docker build .
etc
Successfully built dbf21f16fadb
% docker run dbf21f16fadb
etc
2023/09/11 14:04:58 Installing Yarn
2023/09/11 14:04:59 yarn-v1.22.19.tar.gz
2023/09/11 14:04:59 Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-v1.22.19.tar.gz...
2023/09/11 14:04:59 200 OK
2023/09/11 14:04:59 downloaded 1244259/1244259 bytes (100.00%)
2023/09/11 14:04:59 Download completed

The base image is FROM buildpack-deps:buster and the tag refers to Debian Buster, which is oldoldstable and released in 2019. Perhaps a change in allowed ciphers or certificates in the underlying OS?

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

No branches or pull requests

1 participant