【问题标题】:Bot Emulator gets POST 500 directline.postActivityBot Emulator 获得 POST 500 directline.postActivity
【发布时间】:2018-07-20 09:26:23
【问题描述】:

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

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

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

[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

【问题讨论】:

    标签: botframework


    【解决方案1】:

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

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

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

    【讨论】:

      猜你喜欢
      • 2023-03-31
      • 2020-04-19
      • 1970-01-01
      • 1970-01-01
      • 2016-11-13
      • 2021-01-08
      • 1970-01-01
      • 2013-04-24
      • 1970-01-01
      相关资源
      最近更新 更多