Skip to main content

Trying to deploy in AWS using the Sandbox but encountered the following error:



 



Connection to aws-ue2-transit-gw.aviatrixnetwork.com timed out. (connect timeout=4)')) │
Note, your VPC DNS Resolution must be set to Yes
Also check your ACL rules below:
Outbound - 0.0.0.0/0 ALL - allow
Outbound - 0.0.0.0/0 ALL - deny
Inbound - 0.0.0.0/0 ALL - allow
Inbound - 0.0.0.0/0 ALL - deny
│ │ with aviatrix_transit_gateway.aws_transit_gw, │ on aviatrix_aws.tf line 28, in resource "aviatrix_transit_gateway" "aws_transit_gw": │ 28: resource "aviatrix_transit_gateway" "aws_transit_gw" { │ ╵ ╷ │ failed to create Aviatrix Spoke Gateway: rest API create_spoke_gw Post failed: eAVXERR-TRANSIT-0118] Gateway initilization failed: Copying /tmp/AWS-UE2-Spoke2-GW/localgateway_info.txt to gateway AWS-UE2-Spoke2-GW host AWS-UE2-Spoke2-GW.aviatrixnetwork.com failed: HTTPSConnectionPool(host='aws-ue2-spoke2-gw.aviatrixnetwork.com', port=443): Max retries exceeded with url: /upload.php (Caused by ConnectTimeoutError(, 'Connection to aws-ue2-spoke2-gw.aviatrixnetwork.com timed out. (connect timeout=4)')) │
Note, your VPC DNS Resolution must be set to Yes
Also check your ACL rules below:
Outbound - 0.0.0.0/0 ALL - allow
Outbound - 0.0.0.0/0 ALL - deny
Inbound - 0.0.0.0/0 ALL - allow
Inbound - 0.0.0.0/0 ALL - deny
│ │ with aviatrix_spoke_gateway.aws_spoke_gwsk"spoke2"], │ on aviatrix_aws.tf line 49, in resource "aviatrix_spoke_gateway" "aws_spoke_gws": │ 49: resource "aviatrix_spoke_gateway" "aws_spoke_gws" { │ ╵ ╷ │ failed to create Aviatrix Spoke Gateway: rest API create_spoke_gw Post failed: sAVXERR-TRANSIT-0118] Gateway initilization failed: Copying /tmp/AWS-UE2-Spoke1-GW/localgateway_info.txt to gateway AWS-UE2-Spoke1-GW host AWS-UE2-Spoke1-GW.aviatrixnetwork.com failed: HTTPSConnectionPool(host='aws-ue2-spoke1-gw.aviatrixnetwork.com', port=443): Max retries exceeded with url: /upload.php (Caused by ConnectTimeoutError(, 'Connection to aws-ue2-spoke1-gw.aviatrixnetwork.com timed out. (connect timeout=4)')) │
Note, your VPC DNS Resolution must be set to Yes
Also check your ACL rules below:
Outbound - 0.0.0.0/0 ALL - allow
Outbound - 0.0.0.0/0 ALL - deny
Inbound - 0.0.0.0/0 ALL - allow
Inbound - 0.0.0.0/0 ALL - deny
│ │ with aviatrix_spoke_gateway.aws_spoke_gws "spoke1"], │ on aviatrix_aws.tf line 49, in resource "aviatrix_spoke_gateway" "aws_spoke_gws": │ 49: resource "aviatrix_spoke_gateway" "aws_spoke_gws" { │ ╵ --> Failed to launch AWS transit, aborting.

I am getting the same error:



 



failed to create Aviatrix Transit Gateway: rest API create_transit_gw Post failed: [AVXERR-TRANSIT-0118] Gateway initilization failed: Copying /tmp/AWS-UE2-Transit-GW/localgateway_info.txt to gateway AWS-UE2-Transit-GW host AWS-UE2-Transit-GW.aviatrixnetwork.com failed: HTTPSConnectionPool(host='aws-ue2-transit-gw.aviatrixnetwork.com', port=443): Max retries exceeded with url: /upload.php (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f0629f62f28>, 'Connection to aws-ue2-transit-gw.aviatrixnetwork.com timed out. (connect timeout=4)')) │ <br>Note, your VPC DNS Resolution must be set to Yes<br>Also check your ACL rules below:<br>Outbound - 0.0.0.0/0 ALL - allow<br>Outbound - 0.0.0.0/0 ALL - deny<br>Inbound - 0.0.0.0/0 ALL - allow<br>Inbound - 0.0.0.0/0 ALL - deny<br> │ │ with aviatrix_transit_gateway.aws_transit_gw, │ on aviatrix_aws.tf line 28, in resource "aviatrix_transit_gateway" "aws_transit_gw": │ 28: resource "aviatrix_transit_gateway" "aws_transit_gw" { │ ╵ ╷ │



 



Did you figure it out what it was?


parry dhillon Take a look at this response and let me know if it solves your issue. https://community.aviatrix.com/t/g9hx9jh?r=p8h5yn3


Yup, that indeed solved my issue.  Thanks  John Smoker .


Reply