Bot Framework Skype for Business频道 [英] Bot Framework Skype for Business channel

查看:159
本文介绍了Bot Framework Skype for Business频道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我终于设法使我的机器人连接到Skype for Business,但是我遇到了一些问题,使其无法正常工作.

I've finally managed to get my bot connected to Skype for Business, however I am having a couple of issues getting it to work.

首先,该机器人似乎无法在Skype中进行搜索,您必须输入完整的Uri,并且它似乎只能与onmicrosoft.com域一起使用,而不能与我们自己的域一起使用.

Firstly the bot doesn't seem to be searchable within Skype, you have to enter the full Uri and it only seems to work with the onmicrosoft.com domain, not our own domain.

一旦您使用漫游器的完整Uri打开Skype聊天窗口并开始对话,该漫游器就会显示为状态未知".这可能与我猜到的第一个问题有关.也许它还没有完全传播出去?

Once you open a Skype chat window by using the bot's full Uri and start a conversation, the bot displays as "presence unknown". This may be related to the first issue I guess. Perhaps it's not fully propagated out yet?

最后,一旦我开始与我的漫游器进行对话,它就会响应并询问期望的Intranet地址.但是,当您提供地址而不是像在其他所有渠道上一样检索信息时,它会一次又一次地询问相同的问题,然后出现以下最终错误:

Finally once I begin dialog with my bot it does respond asking for an intranet address which is expected. However when you provide the address instead of retrieving the information as it does on all other channels, it asks the same question again and again and then final errors with the following:

对不起,我的机器人代码有问题. 与目标用户联系时发生错误

Sorry, my bot code is having an issue. Error happened in contacting target user

此错误消息将显示几次,然后完全停止响应,直到您创建新对话为止.

This error message will display a few times and then it just completely stops responding until you create a new conversation.

与其他频道一样,我在漫游器仪表板中看不到任何错误.

I can't see any errors in the bot dashboard like I get on other channels.

推荐答案

如果与我遇到的问题相同,如果您在Bot Framework仪表板中查看,则会看到一些问题,告诉您有关未经授权的错误.

If it's the same problem as I was having, if you look in the Bot Framework dashboard you'll see issues telling you about Unauthorized errors.

目前的解决方法是从MessageController方法中删除[BotAuthentication]装饰.在解决此问题之前,这只是临时解决方案-显然不是完美的.我在这里做了完整的写法: https://blog.thoughtstuff.co.uk/2017/05/how-to-enable-your-bot -Skype for Business上的框架机器人,以及我最终如何工作的方式/

A workaround for now is to remove the [BotAuthentication] decoration from the MessageController method. This is only a temporary fix until this issue gets sorted out - it's clearly not perfect. I've done a full write up here: https://blog.thoughtstuff.co.uk/2017/05/how-to-enable-your-bot-framework-bot-on-skype-for-business-and-how-i-finally-got-it-working/

这篇关于Bot Framework Skype for Business频道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆