botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Slack bots not responding on bot framework

Open v46 opened this issue 8 years ago • 10 comments

Hi folks,

We see all our production slack bots on bot framework not responding for the past 15 minutes. App insights is showing these messages:

POST to XXX failed: Certificate not found: 182c40ad.....75e9c94 Certificate not found: 182c40ad.....75e9c94

Microsoft.Bot.Schema.BotException: at Microsoft.Bot.ChannelConnector.BotAPI+d__29.MoveNext (Microsoft.Bot.ChannelConnector, Version=3.2.0.3, Culture=neutral, PublicKeyToken=null) Inner exception System.Exception handled at Microsoft.Bot.ChannelConnector.BotAPI+d__29.MoveNext: at Microsoft.Bot.ChannelConnector.BotAPI.SetHeaders (Microsoft.Bot.ChannelConnector, Version=3.2.0.3, Culture=neutral, PublicKeyToken=null) at Microsoft.Bot.ChannelConnector.BotAPI+d__29.MoveNext (Microsoft.Bot.ChannelConnector, Version=3.2.0.3, Culture=neutral, PublicKeyToken=null)

Bot Info

  • SDK Platform: node js
  • SDK Version: 3.11
  • Active Channels: Slack
  • Deployment Environment: Azure Bot Service

v46 avatar Mar 06 '18 18:03 v46

Hi folks, can you confirm if there are known outages with bot framework at this time. All our production bots are impacted. They have been 'offline' for more than 30 minutes now.

v46 avatar Mar 06 '18 18:03 v46

Any updates @EricDahlvang?

We really need some status page to indicate bot framework service health especially now that bot framework is GA.

v46 avatar Mar 06 '18 19:03 v46

Thank you for reporting this. We've resolved the underlying problem. Please let us know if you run into anything else.

You're right: the Bot Framework needs a status page.

EricDahlvang avatar Mar 06 '18 19:03 EricDahlvang

Bots still not responding. Now we are seeing these messages at the SDK layer:

ERROR: ChatConnector: receive - invalid signing key or OpenId metadata document.

v46 avatar Mar 06 '18 19:03 v46

@v46 Apologies, I spoke too soon. Not every data center has been updated yet. I will let you know once that is complete.

EricDahlvang avatar Mar 06 '18 19:03 EricDahlvang

It looks like the fix has been rolled out to all data centers. Please let me know if you are still experiencing problems.

EricDahlvang avatar Mar 06 '18 19:03 EricDahlvang

Yes, finally back online. Thank you for the follow up again @EricDahlvang.

What was the underlying problem you mention?

v46 avatar Mar 06 '18 20:03 v46

We are in the process of changing how we configure message subscriptions for slack bots. Bots should be migrated to use the slack app service instead of the worker role.

Please see here for more information: https://docs.microsoft.com/en-us/bot-framework/bot-service-channel-connect-slack#subscribe-to-bot-events

EricDahlvang avatar Mar 06 '18 21:03 EricDahlvang

I'm still seeing this issue on all our production bots. Are we sure this is resolved?

xitij avatar Mar 07 '18 05:03 xitij

@xitij Please restart the bot service.

EricDahlvang avatar Mar 07 '18 19:03 EricDahlvang