AIP Console - Installation - Docker install command fails with Error response from daemon Get https io timeout


Purpose

This page will help you resolve the error shown below which occurs while installing the Cast AIP Console on docker:

Error response from daemon: Get "https://registry-1.docker.io/v2/": dialing registry-1.docker.io:443 with direct connection: connecting to 44.205.64.79:443: dial tcp 44.205.64.79:443: i/o timeout



Observed in CAST Version

Release

Yes/No

2.6.0(tick)


Step by Step scenario
  • Run the following command from the unpacked ZIP folder:  

docker-compose up -d

you get an error:

Error response from daemon: Get "https://registry-1.docker.io/v2/": dialing registry-1.docker.io:443 with direct connection: connecting to 44.205.64.79:443: dial tcp 44.205.64.79:443: i/o timeout




Action Plan

The issue occurs here as HTTPS over port 443 is used for the transmission of secured traffic, thus creating a secure communication channel between the client browser and the server it wants to connect to, which is blocked or not open on the machine hence the docker is not able to communicate to the local machine over HTTPS.

And you get an error:

Error response from daemon: Get "https://registry-1.docker.io/v2/": dialing registry-1.docker.io:443 with direct connection: connecting to 44.205.64.79:443: dial tcp 44.205.64.79:443: i/o timeout

To solve the issue, perform the below actions 

Local port 443 need to be opened.

  1. From the Start menu, click Control Panel, click System and Security, and then click Windows Firewall. Control Panel is not configured for 'Category' view, you only need to select Windows Firewall.
  2. Click Advanced Settings.
  3. Click Inbound Rules.
  4. Click New Rule in the Actions window.
  5. Click Rule Type of Port. 
  6. Click Next.
  7. On the Protocol and Ports page click TCP.
  8. Select Specific Local Ports and type a value of 443
  9. Click Next.
  10. On the Action page click Allow the connection.
  11. Click Next.
  12. On the Profile page click the appropriate options for your environment.
  13. Click Next
  14. On the Name page enter a name ****
  15. Click Finish.
  16. Restart the computer.      
  17. If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant Input  for CAST Technical Support to carry out further investigation.  

Relevant input

Notes/comments
Ticket # 29552