I'm getting errors like this when installing something with composer.
Failed to download league/oauth2-linkedin from dist: The "https://api.github.com/repos/thephpleague/oauth2-linkedin/zipball/f9ab661ca37884067ca286412b6c17304d3c2fac" file could not be downloaded (HTTP/2 502 )
Now trying to download from source
omposer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
Please answer yes, y, no, or n.
Continue as root/super user [yes]?
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading flarum-lang/turkish (1.1.1.5 => 1.1.1.6)
Writing lock file
Installing dependencies from lock file
Package operations: 9 installs, 1 update, 0 removals
- Downloading flarum-lang/turkish (1.1.1.6)
- Downloading league/oauth2-client (2.6.0)
- Downloading wohali/oauth2-discord-new (1.1.0)
- Downloading omines/oauth2-gitlab (3.4.0)
- Downloading league/oauth2-linkedin (5.1.2)
- Downloading league/oauth2-google (4.0.0)
- Downloading league/oauth2-github (3.0.0)
- Downloading league/oauth2-facebook (2.0.5)
- Downloading league/oauth1-client (v1.10.0)
- Downloading fof/oauth (1.1.1)
0/10 [>---------------------------] 0% - Downloading league/oauth2-google (4.0.0)
- Downloading league/oauth2-linkedin (5.1.2)
- Downloading league/oauth2-client (2.6.0)
- Downloading wohali/oauth2-discord-new (1.1.0)
- Downloading league/oauth1-client (v1.10.0)
- Downloading league/oauth2-linkedin (5.1.2)
- Downloading league/oauth2-google (4.0.0)
- Downloading wohali/oauth2-discord-new (1.1.0)
- Downloading league/oauth1-client (v1.10.0)
- Downloading league/oauth2-linkedin (5.1.2)
- Downloading league/oauth2-github (3.0.0)
- Downloading wohali/oauth2-discord-new (1.1.0)
- Downloading league/oauth1-client (v1.10.0)
Failed to download league/oauth2-linkedin from dist: The "https://api.github.com/repos/thephpleague/oauth2-linkedin/zipball/f9ab661ca37884067ca286412b6c17304d3c2fac" file could not be downloaded (HTTP/2 502 )
Now trying to download from source
- Syncing league/oauth2-linkedin (5.1.2) into cache