Giter VIP home page Giter VIP logo

Comments (8)

efh365 avatar efh365 commented on June 17, 2024

Hi. This is failing because realtime streaming is not available in Frankfurt. You can check out the region availability here:
https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/

from ai-powered-speech-analytics-for-amazon-connect.

laimonassutkus avatar laimonassutkus commented on June 17, 2024

Thank you. I have deployed it to N. Virginia. However I am experiencing other errors nows. Even though I have followed the tutorial exactly.

[2020-04-24T05:53:54.005Z] [INFO]:  267b86cc-2541-4918-b472-e53ad144e747 SIGNALING PendingInviteState => PendingAnswerState
(index):662 WebSocket connection to 'wss://ffkfk7u5b9.execute-api.us-east-1.amazonaws.com/Prod?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAXB6NM4E6JG6JIS7C%2F20200424%2Fus-east-1%2Fexecute-api%2Faws4_request&X-Amz-Date=20200424T055353Z&X-Amz-Security-Token=FwoGZXIvYXdzEFcaDA2FJeHHBUi26AvUySLIAYoF7k5t6VjuSMKUdSOJUkiebLBb0FM9Dsrht1TwGBes7t7ygvOtDnge0%2FSuxznP5LC1fBNgeehpiFpbUVx4X1rBcq0J4PaSc6PnTR%2FAY3D3OjygExpTsmQXUa8HiEccTPZIu0jUplhmquwumQkGpBEhBWO9Uo3ByY1Gwc%2FwepDUTHz1yWvR1VmZLyEJdAePF7o7eW44vp6Z4gYe5dIqzVavN83Y7R%2FkNUdv7e%2BtIU%2F%2BS5us7c9wd621uQVSrFlFvGAxdXxC7sJ6KOv9ifUFMi3ieS8UiKJ7Mccjgdg7cEJzYlN0rrCKgDPBRD8NxiZf%2BxIOJXeDSzueZvWU%2BjI%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=8e749486541d7f3ae0e9747bc95869c9cc3c1b0e1a96039e552c84be79e6f6e4' failed: Error during WebSocket handshake: Unexpected response code: 403
WebSocketTest @ (index):662
(index):695 Connection is closed... CloseEvent
(index):696 Onclose called, code is :  1006  reason is    wasClean  is false
(index):698 Connection is closed due to connectivity issue

And after that this:

18lily-rtc.js:9928 Uncaught Error: Failed to extract MediaRtpStats from RTCStatsReport for stream type audio_input
    at lily-rtc.js:9928
(index):517 contact refreshed
2lily-rtc.js:9928 Uncaught Error: Failed to extract MediaRtpStats from RTCStatsReport for stream type audio_input
    at lily-rtc.js:9928
(index):522 the contact is connected! [object Object]
(index):755 sending new connection id
(index):759 Object
(index):761 {"action":"sendmessage","data":"conndId@undefined|contactId@267b86cc-2541-4918-b472-e53ad144e747"}
(index):762 WebSocket is already in CLOSING or CLOSED state.

But deploying stack to a supported region indeed helped!

Metatags for connect client show streaming success:

kvsTriggerLambdaResult | Success
-- | --
languageCode | en-US
saveCallRecording | true
startStreamingAudioStatus | Success
transcribeCall | true

from ai-powered-speech-analytics-for-amazon-connect.

efh365 avatar efh365 commented on June 17, 2024

It seems like those errors are from the agent UX, right? Sometimes there are errors in the console that don't actually cause any failures. What are you seeing from the agent perspective? What isn't working?

from ai-powered-speech-analytics-for-amazon-connect.

Benkracker avatar Benkracker commented on June 17, 2024

Ensure that you've enabled Live Media Streaming for your Amazon Connect instance.

from ai-powered-speech-analytics-for-amazon-connect.

efh365 avatar efh365 commented on June 17, 2024

is this still an issue?

from ai-powered-speech-analytics-for-amazon-connect.

laimonassutkus avatar laimonassutkus commented on June 17, 2024

Closing.

from ai-powered-speech-analytics-for-amazon-connect.

tonix-tuft avatar tonix-tuft commented on June 17, 2024

@laimonassutkus Sorry, what was your solution to this error? And which tutorial did you follow? Thank you!

from ai-powered-speech-analytics-for-amazon-connect.

laimonassutkus avatar laimonassutkus commented on June 17, 2024

I just followed EXACTLY word by word documentation. Delete everything previously.

from ai-powered-speech-analytics-for-amazon-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.