- Mais recentes
- Mais votos
- Mais comentários
The error "Failed to download audio: Cannot connect to destination host" typically indicates a network connectivity issue, where the application is unable to establish a connection to the AWS Polly service endpoint. Here are some steps you can take to troubleshoot and resolve this issue:
Check Network Connectivity: Ensure that the Android device has a stable internet connection and can access other websites or services. Test connectivity by opening a web browser on the device and navigating to a website.
Firewall or Proxy Settings: If your Android device is behind a firewall or proxy server, ensure that it allows outbound connections to the AWS Polly service endpoint. Check the firewall or proxy settings to verify if they are blocking connections to the AWS Polly service.
Verify AWS Credentials: Double-check the AWS credentials used by your Android application to authenticate with the AWS Polly service. Ensure that the credentials are correct and have sufficient permissions to access the Polly service.
Test with Different Devices: If possible, test your Android application on different devices to see if the issue is specific to a particular device or network environment.
If you are still unable to resolve the issue, consider reaching out to AWS Support for further assistance. They can help you diagnose and troubleshoot connectivity issues with the AWS Polly service.
Hope it clarifies and if does I would appreciate answer to be accepted so that community can benefit for clarity, thanks ;)
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
Thanks for the feedback Adeleke. I have tried all of the above apart from building on another android device to test. I'm hoping to try this tomorrow as none of the other suggestions have worked. I will advise once I try building on another device but am not overly confident it will work.