botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
83 stars 91 forks source link

Bot can only be mounted using `sudo ./bp` and very unstable when loading the modules used #951

Closed BenjiTheC closed 3 years ago

BenjiTheC commented 4 years ago

I’m totally a newbie in Botpress or any other chat bot platform. I just downloaded the bot press platform and run the server. I followed the Quick Start instruction and create a test chatbot. But the server shows a BotService error - Error: Socket hanged up.

I’m familiar with Node though and realize this is a requests related error, but don’t know how to address it in the botpress since I downloaded the binary, not building form source (which I believe is recommended against).

There are some other HTTP requests to the local server that’s failing, including getting the docker image and custom css. I came across another error saying the language 'en' is not supported, I’m located in China mainland and you know that GFW thing. I got it addressed after I add a proxy server setting in npm global setting. But these 2 failed local network requests don’t look like the same type of problem.

Can anybody land a hand on the issue? Any information will be much appreciated. Here below is my OS info:

BenjiTheC commented 4 years ago

Follow up:

I manage to mount the bot by running the command sudo ./bp. But it seems like this approach generally takes longer to initiate the server than simply run ./bp, and is very unstable, some time when I close the development server, and try to restart it, it just doesn't continue to load modules after detecting what modules are using.

» sudo ./bp
Password:
03/17/2020 10:38:08.302 Launcher ========================================
                                             Botpress Server
                                              Version 12.7.1
                                                OS darwin
                                 ========================================
03/17/2020 10:38:08.306 Launcher App Data Dir: "/Users/benjamin/Library/Application Support/botpress"
03/17/2020 10:38:10.923 Launcher Using 10 modules
                        ⦿ analytics
                        ⦿ basic-skills
                        ⦿ builtin
                        ⦿ channel-web
                        ⦿ code-editor
                        ⦿ examples
                        ⦿ extensions
                        ⦿ nlu
                        ⦿ qna
                        ⦿ testing
                        ⊝ channel-messenger (disabled)
                        ⊝ channel-slack (disabled)
                        ⊝ channel-smooch (disabled)
                        ⊝ channel-teams (disabled)
                        ⊝ channel-telegram (disabled)
                        ⊝ hitl (disabled)
                        ⊝ misunderstood (disabled)
                        ⊝ nlu-extras (disabled)
                        ⊝ nlu-testing (disabled)
                        ⊝ uipath (disabled)
03/17/2020 10:38:10.925 Server Running in DEVELOPMENT MODE. <== it just stops here

Anyone has similar situation?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

J-FMartin commented 3 years ago

Are you still experiencing this issue ?

J-FMartin commented 3 years ago

Closing. Please reopen if need be.