Giter VIP home page Giter VIP logo

Comments (6)

thornleyk avatar thornleyk commented on September 25, 2024

Closed as per provided AWS merge

from amazon-connect-chatjs.

thornleyk avatar thornleyk commented on September 25, 2024

The latest build seems to have broken the websocket connection. We still get 2 participant/connection requests but on the second call we now get "Connection Broken" on the websocket call. As my merge request was not taken Its very hard to see the individual fixes that effected the build in #34.

from amazon-connect-chatjs.

thornleyk avatar thornleyk commented on September 25, 2024

Ok I have found that we are getting status NeverStarted error from the WebSocket call onInitFailure in LpcConnectionHelper. the Websocket creds and URL look good as I can connect to them directly. The LpcConnectionHelper and WebSocket Manager are not happy though
Screen Shot 2020-10-06 at 10 05 36 PM

from amazon-connect-chatjs.

vertic4l avatar vertic4l commented on September 25, 2024

Got a similar issue with it. Calling disconnectParticipant triggers 2 requests:

Bildschirmfoto 2021-02-15 um 10 53 52

from amazon-connect-chatjs.

tscheuneman avatar tscheuneman commented on September 25, 2024

@thornleyk Are you still observing these multiple calls?

@vertic4l The two requests are likely a OPTIONS call as well as the POST call.

from amazon-connect-chatjs.

mhiaror avatar mhiaror commented on September 25, 2024

There is a retry logic in ChatJS - if an API request fails , we retry it 3 times.
Also, multiple calls to fetchConnectionDetails is fixed in the latest release

from amazon-connect-chatjs.

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.