-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
Connection timed out #530
Comments
@EvKoh can you check if |
curl --ipv6 'https://packagist.org/packages.json'
curl --ipv4 'https://packagist.org/packages.json'
|
I had the same issue. It's some sort of ipv6 issue with the router not responding to ipv6 routing requests. I "solved" it by disabling ipv6 at the router. |
Broken again for ip6
|
@svsa But what do you expect us to do about that? We are not your internet provider. We cannot fix your connection. |
|
Well, it works for thousands of others. It doesn't work for you. Pretty sure you are the exception, not the rule. So yes, your provider should be contacted. |
Likewise its been working for me for many months and when I google this new-to-me error I see multiple reports of this failure, hence I thought I was being helpful in noting it was no longer working. |
What were you expecting? (sincere question) |
So just to follow up. Obviously its something in composer because I deleted ~/.composer and re-added my global requires, and global update works now. I didn't delete the ~/.composer on another of my Macs on the same network, and it still exhibited the problem. I have now deleted ~.composer and successfully updated that Mac too. |
Well... it would have been nice if you shared any relevant details about what is different in your local ~/.composer and that Mac's ~/.composer before deleting it. Now I guess we will never know if that was actually at all related to your issue or just merely a coincidence. |
Also, the contents of ~/.composer have zero impact on a |
Is there a way to force composer to use IPv4? |
Using a Mac -.- I have IPv6 in my LAN but we don't have an IPv6 uplink. So no IPv6 connection to the rest of the internet. It would be nice to disable the use of IPv6 in a config file or at least fallback to IPv4 if a connection is not established within ~5s. UPDATE: Workaround for Mac OS X: Get name of your network device:
Disable IPv6 on that device (in my case "Wi-Fi")
Do your composer thingy .... You can enable IPv6 again with:
|
So I hate to be the bearer of bad news, but I'm having this issue (old ticket is old, I know). The issue does appear to be either at your VPS or on OVH's end and not on the user side. I've tried to get to packagist.org from several of my VPS's and the last hop I can see is at their router, be50-7.bhs-3a-a9.qc.ca (2607:5300::126). OVH Looking Glass shows that my hosting provider's ASN is unreachable from 3 of their nodes (oddly, it looks like it can find a route for BHS but still won't complete a traceroute): https://lg.ovh.net/prefix/bhs+rbx+sbg+gra/ipv6?q=2604%3A180%3A2%3A%3Ad2a1%3A3da5 (the provided IP is the LG for RamNode New York: http://lg.nyc.ramnode.com ) IPv4 to packagist.org works fine. IPv6 requests on my VPS's to google.com work fine. Can you please open a ticket with OVH for this issue? (UPDATE: They have a Twitter listed on their LG page, so I sent them a tweet: @as16276 can you please fix your route to AS3842? Thanks! http://lg.nyc.ramnode.com/ https://lg.ovh.net/prefix/bhs+rbx+sbg+gra/ipv6?q=2604:180:2::d2a1:3da5 …) If IPv6 connectivity is continuing to be unreliable for some users, perhaps it would be best to delete the AAAA record until it's stable? It would likely break zero users and fix several. |
Same thing, having issues because cannot connect to packagist via https. Any solution here?
|
The solution is: migrate from OVH to a serious provider. I've wasted too much months contacting support about broken routes randomly. Even Let's Encript OCSP responders for stapling cache were failing from different nodes for different IPv6 from the same subnet, getting TLS handshake timeouts while serving. To sum up: move your VPS to a provider which takes IPv6 networking seriously. |
For server or linux users, you probably could try to disable iptables, but it seems that it is not a problem blocking the ips. For me, the real problem was that CentOS 6, 7 and 8 prior the traffic with ipv6 instead ipv4. So the following command will prior the traffic to ipv4 and works for me now:
See docs about "Operation timed out (IPv6 issues)" Also useful this reply |
Yesterday I've downloaded packages with no problem .
So i think my ISP have problem,
I think composer should use IPv4, though. |
Years later, OVH BHS datacenter (Quebec) IPv6 connectivity is still very problematic. Googleapis and Gitlab networks are particularly affected (= not working for months over IPv6). Support didn't considered yet this issue as "grave enough". Having an |
I have this problem since yesterday midnight :
$ php composer.phar self-update
$ php composer.phar update
The text was updated successfully, but these errors were encountered: