amazon-connect / amazon-connect-realtime-transcription

Transcribe Live Customer Audio for Amazon Connect using Amazon Kinesis Video Streams and Amazon Transcribe
MIT No Attribution
163 stars 99 forks source link

UnknownHostException: transcribestreaming.ap-northeast-1.amazonaws.com #46

Closed jinspark-lab closed 4 years ago

jinspark-lab commented 4 years ago

Hi, I am trying to test this sample for making customer demo.

In the Lambda function "kvsTranscriber" which is implemented as Java returns error as belows. There are several errors when this function is triggered. Of course there is no record files on S3

TranscribeStreamingRetryClient:164 - Error occurred on channel AUDIO_FROM_CUSTOMER : software.amazon.awssdk.core.exception.SdkClientException

Caused by: software.amazon.awssdk.core.exception.SdkClientException Caused by: java.net.UnknownHostException: transcribestreaming.ap-northeast-1.amazonaws.com

Could you give me a solution? I just ran CloudFormation Stacks from the document.

efh365 commented 4 years ago

The transcribe service we are using in this solution is Transcribe Streaming, not just Transcribe. Currently Transcribe Streaming is not available in ap-northeast-1, which is why it is not working. You can see the available regions here: https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/ (Transcribe Streaming is marked after the table in italics)