【问题标题】:Issue while connecting to orchestrator through chatbot-bridge version 2 api. (Node JS)通过 chatbot-bridge 版本 2 api 连接到 Orchestrator 时出现问题。 (节点 JS)
【发布时间】:2020-01-27 07:14:40
【问题描述】:

我们正在尝试使用聊天机器人桥(v2 代码)将对话流 api(v2)与 ui-path 编排器连接,但我们看到以下错误。

这是配置文件: 默认.json:

{
    "server": {
        "host": "127.0.0.1",
        "port": 6543
    },
    "orchestrator": {
        "hostname": "platform.uipath.com",
        "tenancyName": "xxxxxxxx",
        "usernameOrEmailAddress": "xxxxxxxx",
        "password": "xxxxxxx"
    },
    "dialogflow": {
        "private_key": "xxxxxx",
        "projectId": "115556440368131734996"
    },
}  

错误:

UnhandledPromiseRejectionWarning: Error: ERR_OSSL_PEM_NO_START_LINE undefined: Getting metadata from plugin failed
with error: error:0909006C:PEM routines:get_name:no start line
    at Object.callErrorFromStatus (D:\xampp\htdocs\chatbot\node_modules\@grpc\grpc-js\build\src\call.js:30:26)
    at Http2CallStream.<anonymous> (D:\xampp\htdocs\chatbot\node_modules\@grpc\grpc-js\build\src\client.js:96:33)
    at Http2CallStream.emit (events.js:214:15)
    at D:\xampp\htdocs\chatbot\node_modules\@grpc\grpc-js\build\src\call-stream.js:97:22
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
(node:13808) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:13808) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

如果有任何解决方案,请告诉我,我们卡在这里。我们查看了 UI-Path 论坛,没有看到任何与之相关的帖子。

【问题讨论】:

  • 您好,您找到解决方案了吗?
  • 是的,我确实找到了解决方案,有人发布了该 SDK 的最新版本。配置也有问题。
  • 好的,感谢更新

标签: node.js chatbot uipath uipath-orchestrator uipath-api


【解决方案1】:

您似乎已经找到了解决方案,但我想强调一个事实,即我们已经在公共预览版中发布了用于聊天机器人的 PaaS:

https://forum.uipath.com/t/chatbot-connector-now-in-public-preview/210724

【讨论】:

  • 谢谢分享,我会研究一下。
猜你喜欢
  • 2019-01-23
  • 2021-06-18
  • 2020-05-25
  • 2022-11-04
  • 1970-01-01
  • 2013-10-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多