首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >机器人模拟器获得POST 500 directline.postActivity

机器人模拟器获得POST 500 directline.postActivity
EN

Stack Overflow用户
提问于 2018-07-20 04:06:37
回答 1查看 2.4K关注 0票数 0

我正在尝试将Microsoft Bot Emulator连接到我的机器人。当我在本地托管我的机器人时,一切正常,但我在以下URL托管了我的机器人

https://hospitalbot.azurewebsites.net/api/messages

当我使用Emulator连接我的机器人并发送一条消息时,它显示如下(下面的日志)

代码语言:javascript
复制
[16:05:17]Emulator listening on http://localhost:51103
[16:05:17]ngrok not configured (only needed when connecting to remotely hosted bots)
[16:05:17]Connecting to bots hosted remotely
[16:05:17]Edit ngrok settings
[16:05:17]Error: The bot is remote, but the service URL is localhost. Without tunneling software you will not receive replies.
[16:05:17]Connecting to bots hosted remotely
[16:05:17]Edit ngrok settings
[16:05:17]Error: The bot is remote, but the service URL is localhost. Without tunneling software you will not receive replies.
[16:05:17]Connecting to bots hosted remotely
[16:05:17]Edit ngrok settings
[16:05:17]POST201directline.startConversation
[16:05:21]Error: The bot is remote, but the service URL is localhost. Without tunneling software you will not receive replies.
[16:05:21]Connecting to bots hosted remotely
[16:05:21]Edit ngrok settings
[16:05:21]->messagetest
[16:05:22]POST500directline.postActivity
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-07-20 09:26:23

16:05:17错误:机器人是远程的,但服务URL是本地主机。如果没有隧道软件,您将不会收到回复。

16:05:17连接到远程托管的机器人

在你连接到远程托管的机器人之前,请确保你的installed and configured ngrok tunneling software

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51430933

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档