The "http://packagist.org/p/provider-2014%249b8f5994f698c1dd785943431b161f12f29609459910ebb28d9b1488af3faccc.json" file could not be downloaded: failed to open stream: Connection timed out http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

在 VPS 主機上遇到這個問題好一陣子了
隨著 composer 版本更新還是無解
重開機也是一樣

在專案執行 composer update 會出現這個錯誤訊息
The "http://packagist.org/p/provider-2014%249b8f5994f698c1dd785943431b161f12f29609459910ebb28d9b1488af3faccc.json" file could not be downloaded: failed to open stream: Connection timed out http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

用 composer diag 查詢狀況時
在最後的 composer version 出了問題

今天才想到說重裝看看
重裝 composer 就好囉!

如何安裝 composer 可以參考這篇文章
[CENTOS] 安裝COMPOSER (CENTOS 7)

Comments

Popular posts from this blog

CentOS7 如何新增/移除 Rich Rule for firewalld

mac 安裝 mtr

如何設定 SSL VPN 分割通道 on Fortigate 80C