Cannot mount bot ECONNREFUSED
# 🤝help
p
Hi everyone, I followed the steps from this guide to deploy Botpress on Heroku: http://botpress-docs.s3-website-us-east-1.amazonaws.com/docs/12.0.7/advanced/hosting/#heroku I encountered some SSL issues which I resolved by setting the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0 and PG_SSL to true. I also modified the PostgreSQL connection string to include ?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory. After these changes, I was able to log in to Botpress without any problems. However, when I try to create a bot, I encounter the following error:
Copy code
2024-05-22 14:03:06 critical Cannot mount bot "test" [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)
Postregre version: 16.3 Botpress version: 12.31.8 Can anyone help me understand what might be causing this issue and how I can resolve it? Thanks! https://cdn.discordapp.com/attachments/1242897211776565330/1242897212019703901/image.png?ex=664f81bb&is=664e303b&hm=b2ae7dc951cae8de2bf1bb04549921fc7af6c90a39b644238d030461c6313ac0&
b
hey this looks like a question over for #1112845893931110402 - this channel's primarily for Botpress cloud users 🙂
p
Thanks, I'll ask the question in the correct channel
b
\o/
2 Views