Comments (13)
There was a deployment last night that resulted in some availability issues with Direct Line. Are you still seeing this issue?
from botbuilder-v3.
@CoHealer I am still getting these issue, though the frequency is less:
Also, can you please let me know if there's any forum/place where you announce deployment details.
from botbuilder-v3.
Hi @saurav2107
Please provide your bot's handle and Microsoft App Id so we can investigate further.
from botbuilder-v3.
Hi @EricDahlvang I have sent the details through email, do let me know if you need more information.
from botbuilder-v3.
Hello @saurav2107,
Few follow up questions to understand more about your 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?
- 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.
- Where are you hosting your bot? Is it an azure web app or is it an environment where you manage the network?
- Do you see this error on other channels? Do you use other channels or are you focused on DirectLine?
from botbuilder-v3.
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.
Hi @carlosscastro, unable to find your email, please let me know how can i send you application insight details.
from botbuilder-v3.
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.
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.
from botbuilder-v3.
@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.
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.
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:
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.
Please open a new issue if you are still experiencing problems.
from botbuilder-v3.
Related Issues (20)
- Link to BotBuilder example is not available anymore HOT 1
- POST to 'https://facebook.botframework.com/v3/conversations/9838851111469094-906008411166152/activities/lOdKu9yrLed5iyVk3vbBaQJ5mCJPyp12345678fd2Ta0xQ3R_I12345678pmlNxrQ' failed: [400] Bad Request HOT 9
- Hostname/IP does not match certificate's altnames HOT 34
- Question: Will bot services (written with NodeJS SDK v3.14, using DirectLine v3 APIs) stop working after Dec 31, 2019? HOT 2
- Error: Refresh access token failed with status code: 400 HOT 3
- problem when try to call an another Rest-api at Botframework-V3+C#.net HOT 2
- MessageReceivedAsync will not get called sometimes HOT 7
- Extend v3 SDK to support Skills (DotNet) HOT 3
- Extend v3 SDK to support Skills (JS) HOT 1
- Enable SignIn from a Skill HOT 1
- IDialog method execution finished with multiple resume handlers specified through IDialogStack. invalid need: expected Call, have Wait (Microsoft.Bot.Builder.Internals.Fibers.InvalidNeedExceptio) HOT 18
- Microsoft.Bot.Builder - "Object reference not set to an instance of an object" HOT 5
- [Question, bug] Bot framework fails to save state to Doc DB in Teams 1:1 conversation (and errors dialogue) HOT 8
- Message card rendering issue in bot framework v3 HOT 14
- Port: "Enable multiple scopes for single serviceUrl host" to javascript v3 sdk HOT 1
- Can we send adaptive card to particular group instead of channel HOT 1
- How can get Activity after user submit action in adaptive card using java HOT 1
- System.ArgumentNullException: Value cannot be null. (Parameter 'clientId') in bot V 3.30.0 HOT 1
- Data breach observed when two concurrent send message requests are made to different tenants HOT 8
- This repo is missing important files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botbuilder-v3.