Share feedback, ideas and get community help

Updated 3 months ago

chatBot Test/ Publish returns Error 404

I have self hosted the Typebot in my own server. Tried to test and publish a chatBot from the template but it returmns error 404.
Attachment
image.png
H
B
15 comments
Attachment
image.png
Can you provide the server logs? There should be a clear error there.

If you are self-hosting it with docker. Type this command in your terminal:

Plain Text
docker-compose logs


Paste all the logs here so that we can help you properly!
yes, I've deployed it using docker. here is the server log
Attachment
image.png
Attachment
image.png
and huge thanks to you @Baptiste for looking into this and helping me out!
server logs
What's your NEXT_PUBLIC_VIEWER_URL env value?
both NEXTAUTH_URL and NEXT_PUBLIC_VIEWER_URL are the same.
Now planning to create a unique subdomain for NEXT_PUBLIC_VIEWER_URL.
But one doubt, can NEXTAUTH_URL and NEXT_PUBLIC_VIEWER_URL point to the same IP? Will that work?
These should be different yes.
You need a reverse proxy that redirects to the right service then!
cool, configured two separate domains https://domain.com and https://bot.domain.com
But both of these domains point to the same IP address.
Is that a problem?
Got SSL certificate to https://domain.com but couldn't get SSL for https://bot.domain.com
Is it because both domains carries the same IP?
I have used docker for deployment and nginx for reverse proxy certbot for obtaining SSL
Add a reply
Sign up and join the conversation on Discord