Whenever I attempt to launch Botpress, my bot has a connection error:
2022-08-02 09:59:47infoBotpress is listening at http://localhost:3000 (browser)
2022-08-02 09:59:47infoBotpress is exposed at http://localhost:3000
2022-08-02 09:59:47info===========================================================================
2022-08-02 09:59:47info
2022-08-02 09:59:47infoBotpress is ready. open the Studio in your favorite browser.
2022-08-02 09:59:47info--> Documentation is available at 📘 https://botpress.com/docs
2022-08-02 09:59:47info--> Ask your questions on 👥 https://forum.botpress.com
2022-08-02 09:59:47info
2022-08-02 09:59:47info===========================================================================
2022-08-02 09:59:47infoStarted in 130226ms
2022-08-02 09:59:47infoLocal Action Server will only run in experimental mode
2022-08-02 09:59:47criticalCannot mount bot "lss-chatbot" [Error, connect ECONNREFUSED 127.0.0.1:3100]
STACK TRACE
Error: connect ECONNREFUSED 127.0.0.1:3100
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
From previous event:
at httpAdapter (C:\snapshot\botpress\node_modules\@botpress\messaging-client\node_modules\axios\lib\adapters\http.js:46:10)
at dispatchRequest (C:\snapshot\botpress\node_modules\@botpress\messaging-client\node_modules\axios\lib\core\dispatchRequest.js:53:10)
at Axios.request (C:\snapshot\botpress\node_modules\@botpress\messaging-client\node_modules\axios\lib\core\Axios.js:108:15)
at Axios.get (C:\snapshot\botpress\node_modules\@botpress\messaging-client\node_modules\axios\lib\core\Axios.js:129:17)
at Function.wrap [as get] (C:\snapshot\botpress\node_modules\@botpress\messaging-client\node_modules\axios\lib\helpers\bind.js:9:15)
at MessagingChannel. (C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:45:33)
at Generator.next ()
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:8:71
From previous event:
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:4:12
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:44:53
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\errors.js:31:22
at Generator.next ()
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\errors.js:8:71
From previous event:
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\errors.js:4:12
at handleUnauthorized (C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\errors.js:28:51)
at MessagingChannel. (C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:44:46)
at Generator.next ()
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:8:71
From previous event:
at C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:4:12
at MessagingChannel.getClient (C:\snapshot\botpress\node_modules\@botpress\messaging-client\dist\api.js:43:16)
at MessagingLifetime.loadMessagingEntry (C:\snapshot\botpress\packages\bp\dist\core\messaging\subservices\lifetime.js)
at async MessagingLifetime.loadMessagingForBot (C:\snapshot\botpress\packages\bp\dist\core\messaging\subservices\lifetime.js)
at async BotService._localMount (C:\snapshot\botpress\packages\bp\dist\core\bots\bot-service.js)
2022-08-02 09:59:41infoStarted in 20450ms
2022-08-02 09:59:41infoStudio is listening at: http://localhost:4000
2022-08-02 09:59:32infoDiscovered 1 bot, mounting it...
2022-08-02 09:59:21infoLoaded 8 modules
2022-08-02 09:59:20info===========================================================================
Botpress Studio
Version 0.0.51 - Build 20220415-0801_BIN/HEAD
===========================================================================
2022-08-02 09:57:44infoDiscovered 1 bot, mounting it...
2022-08-02 09:57:44warnExternal URL is not configured. Using default value of http://localhost:3000. Some features may not work properly
2022-08-02 09:57:42warnBotpress Pro must be enabled to use a custom theme and customize the branding.
2022-08-02 09:57:42infoLoaded 8 modules
2022-08-02 09:57:37infoRunning in DEVELOPMENT MODE
2022-08-02 09:57:37infoUsing 8 modules
⦿ analytics
⦿ bot-improvement
⦿ channel-web
⦿ code-editor
⦿ examples
⦿ hitlnext
⦿ misunderstood
⦿ uipath
⊝ broadcast (disabled)
⊝ google-speech (disabled)
⊝ hitl (disabled)
⊝ libraries (disabled)
2022-08-02 09:57:37infoApp Data Dir: "C:\Users\dmayer\AppData\Roaming\botpress"
Whenever I attempt to deploy the bot to botpress cloud, I receive the following:
2022-08-02 09:48:25errorError deploying bot to Botpress Cloud
HTTP (post) URL https://controllerapi.botpress.cloud/v1/bots/upload
Received "Internal server error"
Request failed with status code 500
STACK TRACE
Error: Request failed with status code 500
at createError (C:\snapshot\studio\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\snapshot\studio\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\snapshot\studio\node_modules\axios\lib\adapters\http.js:312:11)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
From previous event:
at httpAdapter (C:\snapshot\studio\node_modules\axios\lib\adapters\http.js:48:10)
at dispatchRequest (C:\snapshot\studio\node_modules\axios\lib\core\dispatchRequest.js:58:10)
at Axios.request (C:\snapshot\studio\node_modules\axios\lib\core\Axios.js:112:15)
at Axios.post (C:\snapshot\studio\node_modules\axios\lib\core\Axios.js:147:17)
at Function.wrap [as post] (C:\snapshot\studio\node_modules\axios\lib\helpers\bind.js:9:15)
at CloudRouter.deployBotToCloud (C:\snapshot\studio\packages\studio-be\out\studio\cloud\cloud-router.js)
at C:\snapshot\studio\packages\studio-be\out\studio\cloud\cloud-router.js
The botpress cloud web app does recognize that an update occurred to the bot despite this error. The bot is unresponsive in the web channel so I am unable to determine if an update did actually occur to the bot, though the changes in studio are persistent.
To Reproduce
Steps to reproduce the behavior:
Go to Botpress Studio and open current bot
Click on Deploy to Cloud
See error
Expected behavior
I expect the bot to be able to deploy itself to the cloud. When using a new bot or a fresh bp install, I still get the same errors. Bot is also unresponsive on web channel, but is able to navigate through the workflows as expected within the emulator available in the studio environment.
Environment (please complete the following information):
Describe the bug
Whenever I attempt to launch Botpress, my bot has a connection error:
Whenever I attempt to deploy the bot to botpress cloud, I receive the following:
The botpress cloud web app does recognize that an update occurred to the bot despite this error. The bot is unresponsive in the web channel so I am unable to determine if an update did actually occur to the bot, though the changes in studio are persistent.
To Reproduce Steps to reproduce the behavior:
Expected behavior
I expect the bot to be able to deploy itself to the cloud. When using a new bot or a fresh bp install, I still get the same errors. Bot is also unresponsive on web channel, but is able to navigate through the workflows as expected within the emulator available in the studio environment.
Environment (please complete the following information):