I can't get Composer to install in Frankfurt

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

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct