R
Railway10mo ago
cadimbh

typebot internal server error

typebot is experiencing internal server error. What is the solution?
42 Replies
root
root10mo ago
Could you please send your deploy logs?
Brody
Brody10mo ago
@t3ch_w1z4rd I'm seeing this a lot, please get to the bottom of it, as this is for a bounty
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
@Brody I see @cadimbh has open a thread in templates channel and noreply and here now he didn't describe what is the issue.
Brody
Brody10mo ago
run typebot yourself, play around with it and see if this error can be reproduced
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
we had issues with the typebot template when typebot updated the codebase to next version and I have fixed it . we already have a solution but I need to confirm whether its same issue or different issue. but no logs or no information is provided I can't help
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
@Brody you can check the date and time I just deployed my template it works flawlessly.
No description
Brody
Brody10mo ago
and the site works fine?
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
yes I have tested login and registration and well works as expected @cadimbh if you still using old codebase please pull the latest and rebuild the service. @Brody I guess this should the same issue which we had last week. I am not sure if I can push notification to users to update the image
Brody
Brody10mo ago
I wish you could do that when you are deploying your own template, what smtp server are you using?
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
I have tested with sendgrid, mailjet, mailgun and ethreal.mail(for testing and debugging) we have seen zoho mail also working
Brody
Brody10mo ago
gmail test with gmail
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
google should also work til they configure it properly will test it later today.
Brody
Brody10mo ago
I've seen lots of issues with using gmail on railway, and it's one of the most likely smtp servers the users will use
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
Probably. but that shouldn't throw 500 error unless they have written code like that
Brody
Brody10mo ago
why not? typebot tries to connect to the mail server, it can't, and ends up throwing a 500, seems perfectly plausible to me
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
no smtp comes into play in authentication like signup or signin. it can connect to smtp server when server start but if it was handled properly with try catch then server should normally and authentication will fail by which we can confirm its smtp issue and not server issue
Brody
Brody10mo ago
okay, please test when you have the time
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
Sure will keep you posted. @cadimbh please let us know whether are you using latest code and its still failing it would be helpful if you share the logs
cadimbh
cadimbh10mo ago
No description
cadimbh
cadimbh10mo ago
No description
Brody
Brody10mo ago
can you show us any of the non sensitive environment variables?
cadimbh
cadimbh10mo ago
project id 1cca5529-8cc9-4604-a97c-f2db41ad6792 It was working normally. Yesterday was not me. But several users are having the same problem.
Brody
Brody10mo ago
^
cadimbh
cadimbh10mo ago
No description
Brody
Brody10mo ago
mind just telling us what smtp server you are using?
cadimbh
cadimbh10mo ago
No description
t3ch_w1z4rd
t3ch_w1z4rd10mo ago
what do you mean several users ? is it possible to restart the service and get first instance when this error shows up ?
Claudio Balbino
Claudio Balbino10mo ago
I installed a new Typebot and the problem was presented here... I changed the latest version to 2.16 in my repository and now it works, it seems that the problem is being generated in 2.17 that brings the integration with WhatsApp
cadimbh
cadimbh10mo ago
Yes apparently it was in this new version.
cadimbh
cadimbh10mo ago
No description
cadimbh
cadimbh10mo ago
Several users who are on version 2.17 are reporting the same problem. "Internal Server Error"
Claudio Balbino
Claudio Balbino10mo ago
yes, as I published a video on YouTube showing how to install Typebot on Railway using template, some users reported the problem to me, so I installed a new Typebot in my account on that date and the problem was presented.
In version 2.17 the url of the viewer appears localhost, where it should show the url of the Railway, changing the version latest to 2.16 Typebot works
Brody
Brody10mo ago
so is it missing variables that pertain to WhatsApp and is freaking out?
cadimbh
cadimbh10mo ago
It's not because of variables. The Typebot template is on Railway. And both the Viewer and the builder have an error in the domain link.
Claudio Balbino
Claudio Balbino10mo ago
WhatsApp variables are not added during installation, but apparently it seems that the new version broke something during installation with the template, because in 2.16 it is working. WhatsApp variables are informed if you want to share the flow with WhatsApp
Brody
Brody10mo ago
gotcha pin the version to 2.16 and call it a day until the devs release a fix
Claudio Balbino
Claudio Balbino10mo ago
@cadimbh change the latest version to 2.16 in your repository to be able to use it until the problem is solved
cadimbh
cadimbh10mo ago
Yes, I'm going to upload it to test. Thank Claudio
doritosnacho
doritosnacho10mo ago
I'm facing the same problem, how can I put in the previous version? @claudiobalbino
doritosnacho
doritosnacho10mo ago
Hello friend, did you manage to set it to the previous version of typebot and did you succeed?
Brody
Brody10mo ago
it has already been confirmed that 2.16 works