1

I required pip before installing aws cli so I tried to install pip by using command.

curl -O https://bootstrap.pypa.io/get-pip.py

As soon as I run this command it starts the timer and after every 2 minutes and approx 6 seconds it stops and terminates displaying the message.

Please open this image to see the message

What does this error indicate?

1 Answer 1

1

This error indicates that you either don't have access or have limited access to the address https://bootstrap.pypa.io.

If this is an EC2 instance, make sure you are allowing outbond traffic for the port 443 (https).

Sign up to request clarification or add additional context in comments.

9 Comments

Sir I have added one more rule i.e for the port 443(https) in the inbound rule of that security group which is attached to the EC2 instance. By adding the rule in the inbound rule it will automatically get added to outbound rule since security groups are stateful in nature.The problem is that I am still getting an error after adding the https rule for the port 443.
Problem solved: When I added port 443 in outbound rule it worked but when I added 443 rule in inbound rule it did not worked. Why is this happening since we all know that security groups are stateful in nature that is we do not explicitly define all rules in the outbound rules.
AFAIK, if a security group allows an inbound port to be open, the outbound port will automatically allow traffic out as a response to a new incoming connection. But it will not allow a new connection from the instance to the outbound port.
Sorry sir but I am not able to get your last line. Can you please elaborate?
Sure, sorry if it wasn't clear enough. If you don't have an outbound rule, you won't be able to start a new outbound connection, no matter which inbound rules you have.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.