baptisteArno / typebot.io

💬 Typebot is a powerful chatbot builder that you can self-host.
https://typebot.io
Other
7.08k stars 1.93k forks source link

Error! Couldn't initiate the chat. #701

Closed Eliseu2023 closed 1 year ago

Eliseu2023 commented 1 year ago

I'm not sure what else to do. I've tried over 4 installations, but there's no way around this error "Error! Couldn't initiate the chat." I'm looking forward to any solutions from you guys.

frmilani commented 1 year ago

I'm having the same problem here. I revised and installed it again about 5 times but I still had no success, always the same error in the Viewer

baptisteArno commented 1 year ago

Can you share a URL so that we can see the error and debug properly?

Also, sharing the server logs would be helpful.

megapaulo8 commented 1 year ago

Try use the command to docker compose down and then upgrade your server memory (ssd or hd), sometimes left space in your server memory, it works to me until now.

frmilani commented 1 year ago

Thanks baptisteArno and megapaulo8, problem solved, really after reviewing the installation update everything working perfectly.

montenegromatheus commented 1 year ago

I'm having the same problem, what did you do @frmilani ?

ildo19 commented 1 year ago

TAMBEM TENHO O MESMO PROBLEMA

megapaulo8 commented 1 year ago

É falta de armazenamento em disco esse problema, a não ser que o chat tenha sido removido. Is not enough memory (ssd or hd), or you have removed the chat.

crediflex commented 11 months ago

Como consigo resolver esse problema? Qual seria o comando para ser usado no terminal BitViser?

rogercg7 commented 11 months ago

https://www.youtube.com/watch?v=IJqq8vdxs5k

Como consigo resolver esse problema? Qual seria o comando para ser usado no terminal BitViser?

renelourenco commented 11 months ago

My server memory is ok and I'm having this error :(

baptisteArno commented 11 months ago

CHECK SERVER LOGS TO SEE THE ISSUE: docker-compose logs

stgcompany commented 11 months ago

I just check my docker-compose logs and the problem was that the NEXTAUTH_URL was only specified on the typebot-builder and it was missing on the typebot-viewer. Now that I declared it and ran the compose again it's working fine.

rafaelbarrosNT commented 11 months ago

I just check my docker-compose logs and the problem was that the NEXTAUTH_URL was only specified on the typebot-builder and it was missing on the typebot-viewer. Now that I declared it and ran the compose again it's working fine.

This solved the problem for me. Tanks

BLTinvest commented 11 months ago

The problem persists, I've already edited the domain in the viewer and builder and it still doesn't work HELP-ME

â–² Next.js 13.5.4

✓ Ready in 68ms

edivaldo-castro-jr commented 10 months ago

Could anyone help?

Error! Couldn't initiate the chat -----------------------------------//---------------------

typebot-builder No pending migrations to apply. â–² Next.js 13.5.4

antoniomatheus26 commented 10 months ago

I'm using Elestio and I'm having this same problem. Would anyone know how to solve it?

jmempreendedorismo commented 10 months ago

Easypanel:

Go to your typebot project, in the 'typebot-builder' part (left menu), then:

  1. in the "Envirionment" tab, copy the line starting with: NEXTAUTH_URL=https://.... (your domain)

Now in the 'typebot-viewer' part, in the "Environment" tab and below DATABASE_URL=postgres://postgres....

  1. Paste the command line you copied from 1. "Typebot-builder" Like this: ERROR-4

This way, in the 'typebot-viewer' part, you will have access to the typebot front-end.

  1. Check turn On, the option: Create .env file

In Buttons in 'typebot-builder' and 'typebot-viwer'

  1. Force Rebuild. After click:
  2. Stop. After:
  3. Start.
songjinghe commented 9 months ago

same as @jmempreendedorismo in Easypanel, I install typebot from CapRover, also encounter this error, I sovle this by checking & setting ALL env variables in typebot-viewer & typebot-builder app correctly, do not leave empty string for any variable. check console log first.

fabiocavalcantem commented 2 months ago

Easypanel:

Go to your typebot project, in the 'typebot-builder' part (left menu), then:

  1. in the "Envirionment" tab, copy the line starting with: NEXTAUTH_URL=https://.... (your domain)

Now in the 'typebot-viewer' part, in the "Environment" tab and below DATABASE_URL=postgres://postgres....

  1. Paste the command line you copied from 1. "Typebot-builder" Like this: ERROR-4

This way, in the 'typebot-viewer' part, you will have access to the typebot front-end.

  1. Check turn On, the option: Create .env file

In Buttons in 'typebot-builder' and 'typebot-viwer' 4. Force Rebuild. After click: 5. Stop. After: 6. Start.

@jmempreendedorismo funcionou aqui. Valeu! This solved the problem for me, thank you!