microsoft / botbuilder-python

The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
http://botframework.com
MIT License
712 stars 285 forks source link

Activity Typing not working #2177

Closed tcateano closed 1 month ago

tcateano commented 1 month ago

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

Version

4.16.2

Describe the bug

When sending a "Typing" activity back to the user, there is never an answer.

Today I just updated Microsoft Teams to version 24257.205.3165.2029 (I belive its september 30 update), from there the typing activity doesnt work anymore

To Reproduce

on message activity method, use

await turn_context.send_activity(Activity(type=ActivityTypes.typing))

Expected behavior

The user gets a typing animation.

[2024-10-16 11:00:38 - asyncio:1820 - ERROR] Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)> Traceback (most recent call last): File "C:\Users\Tomas_2\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\Tomas_2\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost self._sock.shutdown(socket.SHUT_RDWR) ConnectionResetError: [WinError 10054] Se ha forzado la interrupción de una conexión existente por el host remoto