

# Troubleshoot Amazon VPC SSE connect

## Account link does not become linked
<a name="sse-connect-troubleshooting-link"></a>

Verify the following:
+ You entered the AWS account ID that owns the SSE connect in the provider's console.
+ You approved the temporary access request before it expired.
+ The subscription or entitlement selected in the provider's console is active.

Provisioning time depends on the SSE provider. If the account link does not become linked after you complete these checks, contact the SSE provider and AWS Support. Include the SSE connect ID and the time that you approved the request.

## Transit gateway attachment remains pending
<a name="sse-connect-troubleshooting-attachment-acceptance"></a>

If another account owns the transit gateway, its owner must accept the attachment unless automatic acceptance of shared attachments is enabled. For instructions, see [Accept or reject an AWS Transit Gateway SSE connect attachment](https://docs.aws.amazon.com/vpc/latest/tgw/accept-reject-sse-connect-attachment.html).

## Default routes do not appear
<a name="sse-connect-troubleshooting-default-route"></a>

After the provider-managed SSE is ready, the attachment propagates `0.0.0.0/0` and `::/0`. If you don't see these routes, verify the following:
+ The SSE connect and the attachment are available, and the link status is **Linked**.
+ Peer health is **Healthy** in the Region. If it isn't, see [Peer health is unhealthy](#sse-connect-troubleshooting-peer-health).
+ For a transit gateway, route propagation from the attachment is enabled for the expected route table.
+ For a Cloud WAN core network, the segment has a `send-to` action for the network function group that contains the attachment.

## Traffic uses an unexpected path
<a name="sse-connect-troubleshooting-unexpected-path"></a>

Transit gateway and Cloud WAN routing use longest-prefix match. Check for these configurations:
+ A route that is more specific than the SSE connect default route sends traffic to another attachment.
+ A missing route for an east-west destination causes traffic to match the SSE connect default route.
+ The source attachment is associated with a transit gateway route table, or belongs to a Cloud WAN segment, that doesn't receive the SSE connect default route.

## A Cloud WAN attachment is available but carries no traffic
<a name="sse-connect-troubleshooting-cloudwan-policy"></a>

Verify the following:
+ The attachment has the tags matched by an attachment policy rule with an `add-to-network-function-group` action.
+ The attachment appears in the expected network function group.
+ The deployed core network policy has a `send-to` action for each segment that should use the provider.
+ The SSE connect and attachment are available, account linking is complete, and the relevant provider peer is healthy.

Use `GetNetworkRoutes` to review the core network routes and `GetSseConnectRoutes` to review the read-only SSE connect routes.

## A remote user cannot reach a private application
<a name="sse-connect-troubleshooting-private-app"></a>

Check the path in this order:

1. In the SSE provider's console, verify user authentication, policy, and the private-application configuration.

1. Use `GetSseConnectRoutes` to verify that SSE connect learned the application's prefix in the expected Region.

1. Verify that your network advertises the application's prefix to SSE connect. For a transit gateway, the route table associated with the SSE connect attachment has a route to the application VPC attachment. For a Cloud WAN core network, the application's segment has a `send-to` action for the network function group.

1. Verify that the VPC subnet route table has a return route to the transit gateway or core network.

1. If the security group, network ACL, host firewall, or application allowlist filters by source address, allow the SNAT prefixes assigned by the SSE provider.

## Overlapping prefixes
<a name="sse-connect-troubleshooting-overlap"></a>

Prefixes advertised through different attachments on the same SSE connect must not overlap. Review the prefixes propagated through each attachment and change the network configuration so that SSE connect receives non-overlapping prefixes.

## Peer health is unhealthy
<a name="sse-connect-troubleshooting-peer-health"></a>

Check the SSE provider's service status and configuration for the Region. If the status remains `UNHEALTHY`, contact the SSE provider and AWS Support. Include the SSE connect ID, Region, and time that the issue began.

## Information for support
<a name="sse-connect-troubleshooting-support"></a>

Include the following information in a support case:
+ SSE connect ID and attachment IDs
+ AWS account ID and affected Regions
+ Time of the issue in UTC
+ Request ID and error message for a failed API call
+ Whether the issue affects traffic to the SSE provider or traffic returning to your network

For policy, authentication, or client issues, contact the SSE provider.