【问题标题】:RASA core server giving 403 errorRASA 核心服务器出现 403 错误
【发布时间】:2018-11-01 12:13:19
【问题描述】:

我已经启动了 rasa 核心服务器,如 doc https://rasa.com/docs/core/quickstart/ 但是每当我尝试从任何其他客户端拨打电话时都会收到 403 错误。

但是当我对 localhost:5005 进行 GET 操作时,我得到了正确的响应,即来自 Rasa Core: 0.9.0a3 的 hello: 0.9.0a3

谁能帮我解决这个问题?

【问题讨论】:

    标签: rasa-nlu rasa-core


    【解决方案1】:

    我觉得跟windows有关

    在失眠中将帖子作为带有内容的 JSON 正文发送

    {
       "query": "Hi"
    }
    

    在 curl 中给curl -X POST localhost:5005/conversations/default/respond -d "{\"query\":\"hi\"}" | python -mjson.tool

    我给出这个答案时认为您正在使用 Windows。我遇到了同样的问题,这在 Windows 中对我有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-30
      • 2020-08-26
      • 1970-01-01
      • 1970-01-01
      • 2019-04-19
      • 2021-08-15
      • 2012-01-25
      • 1970-01-01
      相关资源
      最近更新 更多