简体   繁体   English

MS Bot无法在Skype for Business上运行

[英]MS bot not working on Skype for Business

I have registered an MS bot on over Skype for business channel, the bot was searchable and responding for few days but no I am getting below error in "Bot Channel registration">channels> issues 我已经在Skype上为商务频道注册了一个MS机器人,该机器人可以搜索并响应了几天,但是没有出现“ Bot频道注册”>“频道”>问题中的错误信息

"There was an error sending this message to your bot: HTTP status code NotFound". “将此消息发送到您的漫游器时出错:HTTP状态代码未找到”。

On SFB I get error 在SFB上我得到了错误

"Error happened in Skype for Business service when reaching bot service". “到达bot服务时,Skype for Business服务发生错误”。

Bot is hosted over azure in web API working and fine in Web channel, whereas with SFB its not hitting the API endpoint. Bot托管在Web API工作中的天蓝色环境中,而在Web渠道中则很好,而使用SFB则不会影响API端点。

Every time I send a message from skype for businesss, I get the same error on bot channel registration. 每当我从企业的Skype发送消息时,我都会在漫游器频道注册中遇到相同的错误。

Environment is a hybrid of Lync 2010 and Skype for business online and after registration bot was searchable and responding to users on SFB online. Environment是Lync 2010和Skype的混合体,可用于在线业务,并且可以搜索注册bot并在线响应SFB上的用户。

What could be the possible reason for this error? 此错误的可能原因是什么?

For my situation I realized that if I dont change messaging endpoint area everything goes well.I mean I was adding Microsoft App Id to my endpoint like https://myendpoint/{{MicrosoftAppId}} after bot created .It is because you can have your microsoft app id after you create the bot.What is awkard is that despite messaging endpoint looks an editable area when I change it I am falling into error place where my endpoint is never called[again webchannel works fine , it looks Skype For Business needs some refactoring]. 就我的情况而言,我意识到如果不更改消息传递终结点区域,一切都会顺利进行。我的意思是我在创建bot之后将Microsoft App ID添加到了我的终结点,例如https://myendpoint/{{MicrosoftAppId}} ,这是因为您可以拥有创建bot后您的Microsoft应用程序ID。令人尴尬的是,尽管在更改消息传递终结点时它看起来是可编辑的区域,但我却陷入了错误的地方,从未调用过我的终结点[同样,webchannel可以正常工作,它看起来Skype For Business需要一些重构]。 However I found that if I dont change this endpoint url bot works fine for Skype For Business and my endpoint is hit successfully .So keep your messaging endpoint constant and set it only when creating your bot. 但是我发现如果不进行更改,此终结点url bot对于Skype for Business可以正常工作,并且我的终结点也成功命中。因此,请保持消息传递终结点不变,并仅在创建bot时进行设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM