T
Typebot9mo ago
H

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.
No description
12 Replies
H
HOP9mo ago
No description
Baptiste
Baptiste9mo ago
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:
docker-compose logs
docker-compose logs
Paste all the logs here so that we can help you properly!
H
HOP9mo ago
yes, I've deployed it using docker. here is the server log
H
HOP9mo ago
No description
H
HOP9mo ago
No description
H
HOP9mo ago
and huge thanks to you @Baptiste for looking into this and helping me out! server logs
H
HOP9mo ago
Baptiste
Baptiste9mo ago
What's your NEXT_PUBLIC_VIEWER_URL env value?
H
HOP9mo ago
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?
Baptiste
Baptiste9mo ago
These should be different yes. You need a reverse proxy that redirects to the right service then!
H
HOP9mo ago
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
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?