PHP Composer Fails With "Could not authenticate against github.com"

Rate-Limiting

Separate CircleCI builds can share the same IP. This can cause certain services, such as Github, to enable rate-limiting.

See Composer's documentation for specifically creating tokens on Github:
https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens

Then store the token as an environment variable in the CircleCI dashboard under Project Settings > Environment Variables and set it before the composer install run step.

Was this article helpful?
0 out of 5 found this helpful

Comments

0 comments

Article is closed for comments.