-
-
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
IPv6 issues (and possible solutions) #950
Comments
Ah, so this is why I can't update my dependencies. Any way to force IPv4 usage within composer itself? Edit: I tossed this into /etc/hosts to get it to work:
|
Think I have to agree. Packagist/Composer keeps saying the "fix" is to practically disable your box from using ipv6 but a search of everyone having issues pretty much shows it's multiple people, from multiple areas, on multiples of different installs and networks and colo centers, all having problems. And keeping in mind these folks were probably all using ipv6 before and didn't have issues except for packagist until they came along and found this. Sounds like the fix isn't as composer suggests (make your box prefer ipv4) but it's time for them to remove their ipv6 hostname records until OVH or someone else can figure out why they have ipv6 issues. |
ARIN is out of IPv4 addresses so forcing your network to use it exclusively is not the answer. OVH has been this way since forever and it seems they are not committed to IPv6. https://otacon22.com/2016/02/21/two-hosting-providers-ipv6-setups-compared-ovh-online-net/ I'm not too familiar with how composer pulls code. It seems all packagist does is store json files that point to github/bitbucket or where ever the code is stored. A public S3 bucket would work very well for this. Using CloudFlare or CloudFront may work well too. You wouldn't have to dump your current infrastructure. You would just setup your origin server as the backend for the CDN network. I'm curious to know how much traffic you guys see in a month. |
IPv6 is highly broken in OVH. I've moved all my VPS to somewhere else and all my issues got solved. Just don't use OVH, they don't care about IPv6 in 2018. |
btw OVH supports told (in the 72669662 ticket) that the problem was not on their side... (so supposedly coming from the network configuration of the VPS client) |
Hey folks, I am well aware of the issue, and nagging OVH as well. It's very hard to move forward with this though it seems on their end. I don't know enough about network routing to really say why. However on our end, options are fairly limited as well. Moving to AWS would cost us quite a bit and CloudFront doesn't let you invalidate things fast enough anyway AFAIK. Disabling IPv6 entirely is not possible either as some people have IPv6-only machines and they would then be unable to reach us. The best option I see if OVH can't fix this is to migrate to Fastly as they have enough cache control to be workable for us. I'll try to experiment more with that. In the meantime adding a static IP for repo.packagist.org to your hosts file is probably the best option. Or alternatively disabling IPv6 routing as per https://getcomposer.org/doc/articles/troubleshooting.md#operation-timed-out-ipv6-issues- |
+100 Fastly. They have been 100% rock-solid and during the almost five years of experience with them.
|
OVH claims they fixed a few things in their north american v6 network 4-5 days ago. Does anyone see an improvement? If not please run the following commands and post the outputs here (they might take a few minutes to run):
If you are not in north america, please let me know if you're having IPv6 issues as well, and show me the output of |
Here are my tests (box checked for successful ping6):
$
It happens that among the AAAA records for
The two last ones (Warsaw ?) are reachable from BHS3. IMHO the link |
It seems to work Ok from AT&T 2600:1700::/28 AS7018. I only got 2607:5300:201:2100::7:2273 in the AAAA query for packagist.org. No lost packets from ping -6. |
I've been having ipv6 connectivity issues to packagist for the past several months. So far, I haven't noticed trouble to any other hosts. Here's my ping6 / mtr logs, which I think indicate OVH still has a problem.
|
Also have the same issue
|
Fastly are used to hosting package repositories, as they already handle PyPI traffic. |
After long talks with my hosting provider, it seems clear that packagist.org routing IPv6 is at cause.
This already caused numerous issues in the past like
.... and so many more (just google for it).
Could the owner of packagist.org have a contact with it's provider (OVH).
Ticket 72669662 has been filled there about IPv6 to packagist.org.
At least in some of the above tickets, it seems that OVH hosting is unable to provide IPv6 connectivity between 2 of its own datacenters.
The text was updated successfully, but these errors were encountered: