Can't send API Requests from python code hosted on AWS Lightsail instance
Muzzamil Anwaar
1
Reputation point
I have a django website that is hosted on an AWS Lightsail. I am trying to add in a Speech to text tool in it. I have tried Microsoft Azure Speech to text APIs for this purpose and have used sample code from the website. The code works fine when i'm running it on my localhost, but the same code does not work when hosted on that AWS Lightsail instance. There is no error, the reponse just never comes and the status stays on "pending.."
Sign in to answer