asset-packagist: Unable to fetch asset-packagist.org from India

Please provide your composer.json if appropriate.

A composer.json file with https://asset-packagist.org in repositories is not functioning(asset-packagist.org is timing out) for me in India. To make it work, I need to use a VPN and change my country.

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Reactions: 2
  • Comments: 21 (9 by maintainers)

Most upvoted comments

From now on asset-packagist.org will redirect all requests to the CDN.

> curl -I https://asset-packagist.org/p/provider-latest/latest.json
HTTP/2 302
server: nginx/1.17.6
date: Thu, 21 Mar 2024 14:44:24 GMT
content-type: text/html
content-length: 145
location: https://cdn.asset-packagist.org/p/provider-latest/latest.json
strict-transport-security: max-age=31536000

Note the Location: header in the response.

Great. I will change the infrastructure to make https://asset-packagist.org/ work via CDN so other developers don’t need to change their composer.json files.

Thank you for the provided info, I’ve contacted our ISP for further investigation on this problem and will keep you updated.

Problem continue.

I tried to access it with Singapore VPN but still facing same issue.

Nothing in Asia seems to be working. I suggest considering a country in Europe or the US instead.