microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.5k stars 2.44k forks source link

Teams high CPU usage #6662

Closed tiffanyp8 closed 1 month ago

tiffanyp8 commented 2 months ago

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using. 8.0

Describe the bug

Give a clear and concise description of what the bug is. Bot is crashing on initial message when users try to start teams. Only some users face this issue.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen. The bot should send an initial welcome message, but instead it crashes teams on high CPU usage.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Tracking Status

Dotnet SDK [TODO]()

Javascript SDK [TODO]()

Python SDK [TODO]()

Java SDK [TODO]()

Samples [TODO]()

Docs [TODO]()

Tools [TODO]()

dmvtech commented 2 months ago

Is it just Teams crashing, the bot, or both?

tiffanyp8 commented 2 months ago

Teams crashes when a user tries to open the bot and chat with it. So the entirety of teams but azure doesn't show specific logs related to the crash. Teams crashes with high CPU usage.

jorgeajimenezl commented 1 month ago

@tiffanyp8 Were you able to solve this problem or do you still have it? In case you were able to solve it, can you explain me how to do it?

dmvtech commented 1 month ago

This is a Teams issue. If the bot is somehow doing something incorrectly, it shouldn't be crashing Teams. Please seek assistance with the Teams product.