- Newest
- Most votes
- Most comments
Based on the information provided, there are several potential causes for the FTPS connection issue you're experiencing with AWS Transfer Family. Here are some insights and suggestions:
-
TLS Handshake Reset: The fact that the connection is reset during the TLS handshake, specifically after the Client Hello, suggests a problem with the TLS negotiation. This could be due to a mismatch in supported TLS versions or cipher suites between your client and the server.
-
Router FTP ALG: The inability to disable the FTP ALG (Application Layer Gateway) on your Huawei HG8245W5 router is a significant concern. FTP ALGs can interfere with FTPS connections, especially during the TLS handshake. This remains a prime suspect for your issue.
-
Network Path: The traceroute results showing timeouts after entering the Cogent network could indicate network path issues. However, since you've tested from multiple networks with the same result, this is less likely to be the root cause.
-
AWS Transfer Family Configuration: The lack of CloudWatch logs suggests the issue occurs before the AWS Transfer Family application layer processes the connection. This could point to a problem with the endpoint configuration, particularly the custom hostname and certificate setup.
-
Certificate Mismatch: Ensure that the wildcard certificate (*.example-domain.com) exactly matches the custom hostname you're using (ftp.example-domain.com). Any mismatch could cause the TLS handshake to fail.
To further troubleshoot:
-
Try connecting using different TLS versions explicitly (e.g., TLS 1.2, TLS 1.3) to see if there's a version compatibility issue.
-
Attempt to connect from a different network that uses a router where you can disable the FTP ALG. This would help isolate whether the router is the problem.
-
Double-check the custom hostname configuration in AWS Transfer Family, ensuring it exactly matches your certificate and DNS settings.
-
If possible, temporarily set up a test Transfer Family server without a custom hostname to see if the issue persists. This could help determine if the problem is related to the custom hostname configuration.
-
Use a network packet capture tool like Wireshark to analyze the TLS handshake in more detail. This might provide more insights into why the handshake is failing.
-
Consider testing with a different FTPS client to rule out any client-specific issues.
If these steps don't resolve the issue, it may indeed indicate a problem with the specific Transfer Family endpoint or the AWS network edge handling for this service. In this case, reaching out to AWS support might be necessary for a more in-depth investigation.
Sources
Troubleshooting AWS Transfer Family - AWS Transfer Family
OpenSSL SSL_read: Connection reset by peer, errno 104 | AWS re:Post
ACM AWS SSL not reflected | AWS re:Post
Trying to connect Power Automate to Amazon Web Service is returning this error "Details: Server HMAC algorithm not found " | AWS re:Post
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 6 months ago