簡體   English   中英

無法在 Azure 中發布 Composer 機器人

[英]Unable to Publish Composer Bot in Azure

我正在嘗試在 Azure 中發布我的作曲家機器人應用程序。

我在 Microsoft 的鏈接下面也提到了相同的內容,

  1. https://docs.microsoft.com/en-us/composer/tutorial/tutorial-introduction
  2. https://docs.microsoft.com/en-us/composer/how-to-publish-bot

如上面第一個鏈接中所述,我創建了一個帶有添加 LUIS 的機器人。 然后我點擊第二個鏈接,但發布時出錯。 此外,我在 Azure 中創建了 LUIS 創作認知服務,如第一個鏈接中所述

請參閱錯誤文本,

"{\"name\":\"RequestError\",\"message\":\"Error: read ECONNRESET\",\"cause\":{\"name\":\"Error\",\"message\":\"read ECONNRESET\",\"stack\":\"Error: read ECONNRESET\\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)\"},\"error\":{\"name\":\"Error\",\"message\":\"read ECONNRESET\",\"stack\":\"Error: read ECONNRESET\\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)\"},\"options\":{},\"stack\":\"RequestError: Error: read ECONNRESET\\n    at new RequestError (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:7891:13)\\n    at Request.plumbing.callback (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:8127:26)\\n    at Request.RP$callback [as callback] (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:8098:27)\\n    at self2.callback (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:51180:25)\\n    at Request.emit (events.js:210:5)\\n    at Request.onRequestError (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:51720:11)\\n    at ClientRequest.emit (events.js:210:5)\\n    at TLSSocket.socketErrorListener (http_client.js:406:9)\\n    at TLSSocket.emit (events.js:210:5)\\n    at emitErrorNT (internal/streams/destroy.js:92:8)\\n    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)\"}"
"{\"name\":\"StatusCodeError\",\"statusCode\":400,\"message\":\"400 - \\\"{\\\\\\\"error\\\\\\\":{\\\\\\\"code\\\\\\\":\\\\\\\"BadArgument\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"The source completed without providing data to receive.\\\\\\\"}}\\\"\",\"error\":\"{\\\"error\\\":{\\\"code\\\":\\\"BadArgument\\\",\\\"message\\\":\\\"The source completed without providing data to receive.\\\"}}\",\"options\":{},\"response\":{\"statusCode\":400},\"stack\":\"StatusCodeError: 400 - \\\"{\\\\\\\"error\\\\\\\":{\\\\\\\"code\\\\\\\":\\\\\\\"BadArgument\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"The source completed without providing data to receive.\\\\\\\"}}\\\"\\n    at new StatusCodeError (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:7904:13)\\n    at Request.plumbing.callback (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:8138:28)\\n    at Request.RP$callback [as callback] (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:8098:27)\\n    at Request.self2.callback (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:51180:25)\\n    at Request.emit (events.js:210:5)\\n    at Request.<anonymous> (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:51928:13)\\n    at Request.emit (events.js:210:5)\\n    at IncomingMessage.<anonymous> (C:\\\\Program Files\\\\Bot Framework Composer\\\\resources\\\\app.asar.unpacked\\\\extensions\\\\azurePublish\\\\dist\\\\extension.js:51859:15)\\n    at Object.onceWrapper (events.js:299:28)\\n    at IncomingMessage.emit (events.js:215:7)\\n    at endReadableNT (stream_readable.js:1183:12)\\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)\"}"
"StatusCodeError - 400 - \"{\\\"error\\\":{\\\"code\\\":\\\"BadArgument\\\",\\\"message\\\":\\\"The source completed without providing data to receive.\\\"}}\""

請參考錯誤截圖,

在此處輸入圖像描述

在此處輸入圖像描述

請盡快幫助我。

提前致謝。

從您的發布日志中,您的機器人框架連接配置文件中的某些信息/詳細信息似乎不正確。 這是 .json 文件 要解決此問題,您應該使用 azure 機器人的正確詳細信息更新信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM