Can't send API Requests from python code hosted on AWS Lightsail instance

Muzzamil Anwaar 1 Reputation point
2020-09-14T18:31:15.8+00:00

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.."

Azure Speech
Azure Speech
An Azure service that integrates speech processing into apps and services.
770 questions
{count} votes