New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skills dialog sample fails with RuntimeError: Timeout context manager should be used inside a task
#3933
Comments
I'm also seeing this error on the sample |
It looks like the problem was on Instead of calling async with aiohttp.ClientSession() as session:
resp = await session.post(to_url, data=json_content.encode("utf-8"), headers=headers_dict,) Note: we need to make post async too. But then I get another error on where we call await self._adapter.continue_conversation(
skill_conversation_reference.conversation_reference,
callback,
claims_identity=claims_identity,
audience=skill_conversation_reference.oauth_scope,
) Note that continue_conversation has no "claims_identity" argument. async def continue_conversation( # pylint: disable=arguments-differ
self,
reference: ConversationReference,
callback: Callable,
bot_app_id: str,
): I gave up at this point, it seems that the library is not being tested or maintained ? |
+1 is there any update regarding this? maybe a ccommit we can work off of? |
I am facing same issue on the sample 80.skills-simple-bot-to-bot. |
Sample information
Describe the bug
Bot encounters an error after sending a message about what action # to send.
"RuntimeError: Timeout context manager should be used inside a task"
To Reproduce
Steps to reproduce the behavior:
In a separate terminal...
Then in each terminal,
dialog-skill-bot will run with:
dialog-root-bot will run with:
Loading into Bot Framework Emulator with
http://localhost:3978/api/messages
, it works.But then you select
DialogSkillBot
and try to provide an action # and it will failHere is the stack trace:
Expected behavior
The dialog should have continued, or at least returned a message saying it didn't recognize the action given.
Screenshots
The text was updated successfully, but these errors were encountered: