I can't get Composer to install in Frankfurt
Linode
Linode Staff
When I try to run the command:
wget -O composer-setup.php https://getcomposer.org/installer
it stalls out while connecting to getcomposer.org. What do I need to do to install Composer?
1 Reply
JGenereux
Linode Staff
We were able to get past this by running the command:
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
This changes the Linode's settings to prefer the IPv4 protocol over IPv6. The reason IPv6 is failing in this particular situation is because the IPv6 traffic is getting throttled/blocked along its route. This may not be a permanent issue, but for now this is a good workaround.