I am trying to transcribe streaming audio with AWS Transcribe, In my local development setup AWS transcribe is working fine.
But my staging/prod server is running inside a VPC, where private subnet is connected to internet facing ELB(ALB for HTTP and HTTPS, and CLB for other ports).
Now whenever I try to stream the audio AWS transcribe from my staging server it throws
{"type":"BadRequestException","description":"There was a client error when the stream was created, or an error occurred while streaming data. Make sure that your client is ready to accept data and try your request again."}
My server is configured to get request from all IP address on port 80, 443, 1935, Now the AWS transcribe request is made to port 8443, as the endpoint url for AWS transcribe is
var endpoint = "transcribestreaming." + region + ".amazonaws.com:8443";
So I added the port 8443 also. Now I don't know if AWS is giving back the response in the same port or not, or I'm missing some other configuration in my ELB setup. Or I'm missing any specific configuration in the StreamingClient itself.
I am trying to transcribe streaming audio with AWS Transcribe, In my local development setup AWS transcribe is working fine.
But my staging/prod server is running inside a VPC, where private subnet is connected to internet facing ELB(ALB for HTTP and HTTPS, and CLB for other ports).
Now whenever I try to stream the audio AWS transcribe from my staging server it throws
My server is configured to get request from all IP address on port 80, 443, 1935, Now the AWS transcribe request is made to port 8443, as the endpoint url for AWS transcribe is
So I added the port 8443 also. Now I don't know if AWS is giving back the response in the same port or not, or I'm missing some other configuration in my ELB setup. Or I'm missing any specific configuration in the StreamingClient itself.