Git Product home page Git Product logo

Comments (13)

CoHealer avatar CoHealer commented on July 28, 2024

There was a deployment last night that resulted in some availability issues with Direct Line. Are you still seeing this issue?

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

@CoHealer I am still getting these issue, though the frequency is less:

image

Also, can you please let me know if there's any forum/place where you announce deployment details.

from botbuilder-v3.

EricDahlvang avatar EricDahlvang commented on July 28, 2024

Hi @saurav2107

Please provide your bot's handle and Microsoft App Id so we can investigate further.

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

Hi @EricDahlvang I have sent the details through email, do let me know if you need more information.

from botbuilder-v3.

carlosscastro avatar carlosscastro commented on July 28, 2024

Hello @saurav2107,

Few follow up questions to understand more about your bot:

  1. 504 suggests that this might not be even hitting your code on the bot. If you navigate to your bot endpoint in a web browser, what do you get? i.e. if your endpoint is https://mybot.mydomain.com/api/messages, try navigating to https://mybot.mydomain.com/ in your browser. Do you get a 200 OK? Or an error?
  2. Do you have app insights or other instrumentation in your bot? To understand what is going on, this would be really helpful as otherwise we don't know what is going on in your bot.
  3. Where are you hosting your bot? Is it an azure web app or is it an environment where you manage the network?
  4. Do you see this error on other channels? Do you use other channels or are you focused on DirectLine?

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

Hi @carlosscastro,

Inline is the response to your follow up questions to understand more about bot:

504 suggests that this might not be even hitting your code on the bot. If you navigate to your bot endpoint in a web browser, what do you get? i.e. if your endpoint is https://mybot.mydomain.com/api/messages, try navigating to https://mybot.mydomain.com/ in your browser. Do you get a 200 OK? Or an error? Yes I get 200 Ok, as i can see the default html page of my bot.

Do you have app insights or other instrumentation in your bot? To understand what is going on, this would be really helpful as otherwise we don't know what is going on in your bot. - I have added Application Insight will be sending you the insight key through mail.

Where are you hosting your bot? Is it an azure web app or is it an environment where you manage the network? My Bot is hosted on Azure web app.

Do you see this error on other channels? Do you use other channels or are you focused on DirectLine?
Generally not, for now I have two channels, DirectLine to cater web based chat Bot and Microsoft Teams.
I generally see this error on DirectLine.

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

Hi @carlosscastro, unable to find your email, please let me know how can i send you application insight details.

from botbuilder-v3.

EricDahlvang avatar EricDahlvang commented on July 28, 2024

Hi @saurav2107

Carlos was not asking for you to send the Application Insights key, but rather for you to ensure that you have setup Application Insights in order to help you diagnose the 502s.

Please note: enabling application insights analytics for a bot is different from configuring application insights for a web application
Bot: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-manage-analytics?view=azure-bot-service-4.0#enable-analytics
Web Application: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net

Please ensure you have enabled Application Insights both for the bot, and for the web application hosting the bot code.

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

Hi @EricDahlvang, thanks for clarifying.
One thing I would like you to know about the issue I am facing is, whenever I see this error, I do get the response, only problem is it takes around 15 to 30 seconds to get the response, I am not doing anything fancy in this, just a query to QnA Maker.

Please help, I am still getting these errors, and it really getting very annoying.

image

from botbuilder-v3.

CoHealer avatar CoHealer commented on July 28, 2024

@saurav2107, please confirm you have set up app insights

"Please note: enabling application insights analytics for a bot is different from configuring application insights for a web application
Bot: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-manage-analytics?view=azure-bot-service-4.0#enable-analytics
Web Application: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net

Please ensure you have enabled Application Insights both for the bot, and for the web application hosting the bot code."

from botbuilder-v3.

saurav2107 avatar saurav2107 commented on July 28, 2024

Hi @CoHealer ,

I have used application insight for Bot and QnAMaker.
As my bot client (Directline) is hosted on a SharePoint site, I don't have application insight enabled for Bot's client.

from botbuilder-v3.

EricDahlvang avatar EricDahlvang commented on July 28, 2024

Hi @saurav2107

We were not asking if you have setup Application Insights for the bot client, but we are asking if you have setup application insights for the Bot, AND for the web application hosting the bot:

Bot: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-manage-analytics?view=azure-bot-service-4.0#enable-analytics

Web Application: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net

If you have set these up correctly, you should be able to determine what dependency calls are taking so long to complete.

from botbuilder-v3.

EricDahlvang avatar EricDahlvang commented on July 28, 2024

Please open a new issue if you are still experiencing problems.

from botbuilder-v3.

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.