Skip to content

Instantly share code, notes, and snippets.

@stephencweiss
Last active November 30, 2018 17:17
Show Gist options
  • Save stephencweiss/afbd2c1fd3063993acd6a7fd3feaacaa to your computer and use it in GitHub Desktop.
Save stephencweiss/afbd2c1fd3063993acd6a7fd3feaacaa to your computer and use it in GitHub Desktop.
Installing nginx can timeout on AWS if outbound traffic is restricted
[ec2-user@ip-172-31-1-221 ~]$ sudo yum install nginx
Loaded plugins: priorities, update-motd, upgrade-helper
Could not retrieve mirrorlist http://repo.us-east-2.amazonaws.com/latest/main/mirror.list error was
12: Timeout on http://repo.us-east-2.amazonaws.com/latest/main/mirror.list: (28, 'Connection timed out after 5000 milliseconds')
http://packages.us-east-1.amazonaws.com/2018.03/main/c31535f74c6e/x86_64/repodata/repomd.xml?instance_id=i-0b48b031c3318d644&region=us-east-2: [Errno 12] Timeout on http://packages.us-east-1.amazonaws.com/2018.03/main/c31535f74c6e/x86_64/repodata/repomd.xml?instance_id=i-0b48b031c3318d644&region=us-east-2: (28, 'Connection timed out after 5000 milliseconds')
Trying other mirror.
^C
Current download cancelled, interrupt (ctrl-c) again within two seconds
to exit.
^C
Exiting on user cancel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment