[MS Teams]-Post request to smba.trafficmanager.net/xxx/v3/conversations/xxxx/activities/xxx returns canceled status
bot Builder: 4.5.1 C#
step to reproduce
- install bot in teams channel and type a query.it returns response.
- deploy code changes and ping bot with sample query.
- bot returns error message.
how to handle smba.trafficmanager failure.
@clearab Can you help triage this?
I'm not quite sure what you mean, could you provide a code sample or more detailed information about what you're trying to accomplish? Are you starting from one of our code samples?
@clearab , we used 46.teams-auth bot sample . we have been while in teams channel and after every deployment bot not responding to user query.but if they logout and signin , it starts working . As a bot team, we are facing difficulties to explain this process to each one of the users. Please provide your suggestion to handle better.
Do you mean log out and back into the Teams client, or from the bot? What changes are you deploying to your bot? Does this happen with every deployment, and for all users?
My apologies for all the questions, but I've never encountered this behavior before and am having trouble understanding what exactly is happening before your receive this error.
@clearab Yes, its from bot( logout and sign-in) .our bot is supporting domain functionalities (more than 21 process areas) adoption of 150k users .we have test and live environment and this issue occurring on both environment after every deployment and most of the user are facing same error as mentioned here. Also verified in application insight log and it shows only this dependency failure.
It sounds like you're trying to either continue a conversation using a conversationId that no longer exists, or maybe trying to use an expired user token. Can you debug and figure out what specifically is happening in your code when this error is thrown? Since it is happening once for each of your users, I'm guess there is something amiss in like your user or conversation state storage. @Jeffders or @carlosscastro maybe you have some ideas?
I'm going to close this for now - please feel free to re-open if you have additional information to share.