title: AWS Fargate - CannotPullContainerError (500)?
body: <p>I'm using AWS ECS to host my services. When I try to define task with fargate, I'm getting this below problem. </p>
  
  <blockquote>
    <p>CannotPullContainerError: API error (500): Get <a href="https://xxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/v2/" rel="nofollow noreferrer">https://xxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/v2/</a>: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) </p>
  </blockquote>
  
  <p>Further I gave full permissions to access ECR  in the IAM user as well. Please help me to sort out this problem. </p>