Giter Site home page Giter Site logo

Comments (8)

watadarkstar avatar watadarkstar commented on August 19, 2024 1

I'll try my best! 💪 I still don't fully understand what the retry id is telling me half the time, but I'll propose a PR with what I think would be a better solution.

from botframework-directlinejs.

billba avatar billba commented on August 19, 2024

Ooooh! Pretty! I'll look into this.

from botframework-directlinejs.

rafaelmaeuer avatar rafaelmaeuer commented on August 19, 2024

I have the same strange error on a server environment, it's not happening on localhost. I thought it was related to an update of botbuilder from 3.13.1 to 3.15.0, but reverting the version didn't solve it.
I can go to an earlier commit where it is still working, so what could possibly be the reason?

from botframework-directlinejs.

rafaelmaeuer avatar rafaelmaeuer commented on August 19, 2024

Solved it, the update of restify from version 6 to 7 caused this error on the server. Reverting fixed it.

from botframework-directlinejs.

watadarkstar avatar watadarkstar commented on August 19, 2024

I might work on wiring this up. Not sure how difficult it will be... but it would be really useful for us to have these HTTP status codes available at the client level. It would save us some time debugging issues if we had access to the status code.

I've also been thinking... Could we get rid of the "retry" id and handle it as an error? Would be really nice to have that retry just be an error with status codes included. Sometimes that retry id is super ambiguous to us and we don't know what's going on. Same goes for not having http status codes from the bot propagate up to the client.

from botframework-directlinejs.

billba avatar billba commented on August 19, 2024

I'm open to a better idea. I deeply regret the "retry" id -- one of those short term hacks that never got corrected.

from botframework-directlinejs.

compulim avatar compulim commented on August 19, 2024

For instance, Web Chat v4 no longer use activity ID of retry.

I think there are two parts here,

  1. Surface the HTTP error if we receive 502 from Direct Line platform
  2. Remove returning retry as activity ID and always throw an appropriate error (including 502 bot errors)

from botframework-directlinejs.

watadarkstar avatar watadarkstar commented on August 19, 2024

In our app we have a fork that has something like this to get better error information: #115

from botframework-directlinejs.

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.