botpress / v12

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

v12_25_0 lang engine issue with reverse proxy #1443

Closed steveb85 closed 2 years ago

steveb85 commented 2 years ago

Describe the bug after updating to v12_25 (or fresh install, tried both) any bots built will say they can’t connect to the lang eng, including if you self host. It appears to be a problem with the reverse proxy, or if I run botpress as a service through systemd, it seems to connect if I run via ./bp but then i can’t disconnect from my vm ssh. not sure how to fix. Downgraded and everything runs correctly

To Reproduce Install v12_25 create bot, and any time you load a bot it says it can’t connect to the lang No errors in the Log.

Environment (please complete the following information):

EFF commented 2 years ago

By lang engine do you refer to NLU Server or Language Server ? What is your reverse proxy and how is it configured.

Also, it's totally normal that you can't disconnect from your ssh session without having the process killed that's how linux works. If you want the process to be run after you close your ssh session, you need to use a process manager like systemd or you can also run ./bp &. The & sign will make the process run in the background and won't be killed by the OS when you disconnect from your ssh session. Depending on what linux you're running, you might have to prepend your command with nohup

Since this is an issue on your end, I'll close this. You can still comment here.

Thanks