githubEdit

Resolving AWS CLI Authentication Errors with DuploCloud Credentials

If you encounter authentication errors when using the AWS CLI with DuploCloud credentials, such as "authentication failure: failed to collect system features", the issue might be related to DNS resolution. Here's how to resolve it: Steps to Resolve First, verify your AWS configuration is correct: Ensure your ~/.aws/config file contains the correct profile settings Remove the ~/.aws/credentials file if it exists If you're still experiencing issues, add Google's DNS server (8.8.8.8) to your DNS configuration: Open your system's network settings Add 8.8.8.8 to your DNS server list You can verify your DNS configuration using the command: scutil --dns Verify DNS resolution is working by using nslookup: Run: nslookup your-duplo-domain.com You should receive a valid IP address response Clear the DuploCloud cache (if needed): Run: rm -rf ~/Library/Caches/duplo-jit Additional Troubleshooting If you continue to experience issues: Ensure your DuploCloud token is valid and not expired Verify that your profile configuration in ~/.aws/config is correct and includes the proper region and credential process Wait a few minutes as DNS changes may take time to propagate across different DNS servers

Last updated

Was this helpful?