{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4559","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4559/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4559/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4559/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/4559","id":320272265,"node_id":"MDU6SXNzdWUzMjAyNzIyNjU=","number":4559,"title":"There was an error sending this message to your bot: HTTP status code GatewayTimeout","user":{"login":"ItsMeArthur","id":11617999,"node_id":"MDQ6VXNlcjExNjE3OTk5","avatar_url":"https://avatars0.githubusercontent.com/u/11617999?v=4","gravatar_id":"","url":"https://api.github.com/users/ItsMeArthur","html_url":"https://github.com/ItsMeArthur","followers_url":"https://api.github.com/users/ItsMeArthur/followers","following_url":"https://api.github.com/users/ItsMeArthur/following{/other_user}","gists_url":"https://api.github.com/users/ItsMeArthur/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsMeArthur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsMeArthur/subscriptions","organizations_url":"https://api.github.com/users/ItsMeArthur/orgs","repos_url":"https://api.github.com/users/ItsMeArthur/repos","events_url":"https://api.github.com/users/ItsMeArthur/events{/privacy}","received_events_url":"https://api.github.com/users/ItsMeArthur/received_events","type":"User","site_admin":false},"labels":[{"id":429202671,"node_id":"MDU6TGFiZWw0MjkyMDI2NzE=","url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/.NET%20SDK","name":".NET SDK","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"JasonSowers","id":6301037,"node_id":"MDQ6VXNlcjYzMDEwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6301037?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonSowers","html_url":"https://github.com/JasonSowers","followers_url":"https://api.github.com/users/JasonSowers/followers","following_url":"https://api.github.com/users/JasonSowers/following{/other_user}","gists_url":"https://api.github.com/users/JasonSowers/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonSowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonSowers/subscriptions","organizations_url":"https://api.github.com/users/JasonSowers/orgs","repos_url":"https://api.github.com/users/JasonSowers/repos","events_url":"https://api.github.com/users/JasonSowers/events{/privacy}","received_events_url":"https://api.github.com/users/JasonSowers/received_events","type":"User","site_admin":false},"assignees":[{"login":"JasonSowers","id":6301037,"node_id":"MDQ6VXNlcjYzMDEwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6301037?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonSowers","html_url":"https://github.com/JasonSowers","followers_url":"https://api.github.com/users/JasonSowers/followers","following_url":"https://api.github.com/users/JasonSowers/following{/other_user}","gists_url":"https://api.github.com/users/JasonSowers/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonSowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonSowers/subscriptions","organizations_url":"https://api.github.com/users/JasonSowers/orgs","repos_url":"https://api.github.com/users/JasonSowers/repos","events_url":"https://api.github.com/users/JasonSowers/events{/privacy}","received_events_url":"https://api.github.com/users/JasonSowers/received_events","type":"User","site_admin":false}],"milestone":null,"comments":32,"created_at":"2018-05-04T13:19:55Z","updated_at":"2018-07-23T16:14:02Z","closed_at":null,"author_association":"NONE","body":"## Bot Info\r\n* SDK Platform: .NET\r\n* SDK Version: 3.14.1.1\r\n* Active Channels: Skype, MS Teams, Direct Line, Skype for Business\r\n* Deployment Environment: Azure Web App and Bot Channels Registration\r\n## Issue Description\r\n\r\nI have a chatbot in **production**, and yesterday I've had some issues regarding exceptions being thrown within the chatbot, resulting in the **\"Sorry my bot code is having an issue**\" message.\r\n\r\nWeirdly the chatbot provides the correct response to the user, however after the expected activity the user get's the \"**Sorry my bot code is having an issue**\".\r\n\r\nI've got the error bot on **Skype for Business** and **DirectLine** (via WebChat):\r\n![image](https://user-images.githubusercontent.com/11617999/39628532-c399f62a-4f7f-11e8-8ee7-9acc1c2d11ed.png)\r\n\r\nWhen I open the **Skype for Business** log I see the following error messages:\r\n![image](https://user-images.githubusercontent.com/11617999/39628565-dd63669a-4f7f-11e8-8893-0e0ac6c451d0.png)\r\n\r\nWhen I go to the **Application Insights** of this bot I see the following exceptions were raised:\r\n![image](https://user-images.githubusercontent.com/11617999/39628683-3200e5a6-4f80-11e8-8c6e-62f61d506977.png)\r\n\r\nAs you can see the **Microsoft.Bot.Schema.BotTimeoutException** was raised a bunch of times.\r\n\r\nIf I inspect this exception within the **Application Insights** I can see this information:\r\n![image](https://user-images.githubusercontent.com/11617999/39628738-6200c622-4f80-11e8-8289-83d2c7d40f91.png)\r\n\r\nHere's the call stack:\r\n\r\n> Microsoft.Bot.Schema.BotTimeoutException:\r\n>    at Microsoft.Bot.ChannelConector.BotAPI+<PostActivityToBotAsync>d__30.MoveNext (Microsoft.Bot.ChannelConnector, Version=3.2.1.0, Culture=neutral, PublicKeyToken=null)\r\n\r\nFrom what I was able to gather this happens when the bot takes more than 15 seconds to provide a response to the bot connector. However sometimes the bot gives us the expected reply within something like 3 seconds, and we still get this exception.\r\n\r\nThis is the chatbot Microsoft App Id: **2eb9dadb-2d6f-4cea-a6e0-8cce748722ab**\r\n\r\nI'm not sure if I can post the bot handler publicly, as it contains the name of our client. But If needed I can provide it to someone via email."},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/407114322","html_url":"https://github.com/Microsoft/BotBuilder/issues/4559#issuecomment-407114322","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4559","id":407114322,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzExNDMyMg==","user":{"login":"wladneto","id":15970264,"node_id":"MDQ6VXNlcjE1OTcwMjY0","avatar_url":"https://avatars2.githubusercontent.com/u/15970264?v=4","gravatar_id":"","url":"https://api.github.com/users/wladneto","html_url":"https://github.com/wladneto","followers_url":"https://api.github.com/users/wladneto/followers","following_url":"https://api.github.com/users/wladneto/following{/other_user}","gists_url":"https://api.github.com/users/wladneto/gists{/gist_id}","starred_url":"https://api.github.com/users/wladneto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wladneto/subscriptions","organizations_url":"https://api.github.com/users/wladneto/orgs","repos_url":"https://api.github.com/users/wladneto/repos","events_url":"https://api.github.com/users/wladneto/events{/privacy}","received_events_url":"https://api.github.com/users/wladneto/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T16:14:02Z","updated_at":"2018-07-23T16:14:02Z","author_association":"NONE","body":"How can a obtain a ConversationId?\r\nMy WEBSITE_TIME_ZONE in Azure Application is \"E. South America Standard Time\""}}
{"actor":{"display_login":"wladneto"}}