Bot Emulator获得POST 500 Directline.postActivity [英] Bot Emulator gets POST 500 directline.postActivity

查看:87
本文介绍了Bot Emulator获得POST 500 Directline.postActivity的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试连接

I am trying to connect Microsoft Bot Emulator to my bot. Everything works fine when I host my bot locally but I hosted my bot at the following URL

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

当我使用仿真器连接我的机器人并发送一条消息时,它显示以下内容(以下日志)

When I connect my bot using the Emulator and send a message it says the following (the log below)

[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

推荐答案

[16:05:17]错误:漫游器是远程的,但服务URL是本地主机.没有隧道软件,您将不会收到回复.

[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]连接到远程托管的漫游器

[16:05:17]Connecting to bots hosted remotely

在连接到远程托管的机器人之前,请确保您

Before you connect to a bot that is hosted remotely, please make sure you installed and configured ngrok tunneling software.

这篇关于Bot Emulator获得POST 500 Directline.postActivity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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