Log in
Log into community
Share feedback, ideas and get community help
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
chatBot Test/ Publish returns Error 404
chatBot Test/ Publish returns Error 404
Inactive
0
Follow
H
H
4 months ago
ยท
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
H
B
15 comments
Share
Open in Discord
H
H
4 months ago
Attachment
B
Baptiste
4 months 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:
Plain Text
Copy
docker-compose logs
Paste all the logs here so that we can help you properly!
H
H
4 months ago
yes, I've deployed it using docker. here is the server log
H
H
4 months ago
Attachment
H
H
4 months ago
Attachment
H
H
4 months ago
and huge thanks to you @Baptiste for looking into this and helping me out!
H
H
4 months ago
server logs
B
Baptiste
4 months ago
What's your NEXT_PUBLIC_VIEWER_URL env value?
H
H
4 months ago
both NEXTAUTH_URL and NEXT_PUBLIC_VIEWER_URL are the same.
H
H
4 months ago
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?
B
Baptiste
4 months ago
These should be different yes.
B
Baptiste
4 months ago
You need a reverse proxy that redirects to the right service then!
H
H
4 months 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?
H
H
4 months ago
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?
H
H
4 months ago
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
Join on Discord