Internal Server Error

I have this problem, i need help
No description
No description
41 Replies
Brody
Brody15mo ago
@t3ch_w1z4rd what are these people potentially doing wrong then? deployed 13 hours ago is there a variable they aren't filling out properly?
t3ch_w1z4rd
t3ch_w1z4rd15mo ago
@flpcrazzy can you share the logs of the service ?
flpcrazzy
flpcrazzyOP15mo ago
Railway
Log Explorer
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Brody
Brody15mo ago
that does not give either of us access to your logs
t3ch_w1z4rd
t3ch_w1z4rd15mo ago
if you can copy paste few lines of code from there it might be helpful
flpcrazzy
flpcrazzyOP15mo ago
Can I send you the Railway account login so you can check?
t3ch_w1z4rd
t3ch_w1z4rd15mo ago
#typebot internal server error Check this chat
flpcrazzy
flpcrazzyOP15mo ago
OK
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
❌ Invalid environment variables: { ENCRYPTION_SECRET: [ 'String must contain exactly 32 character(s)' ] }
Brody
Brody15mo ago
did you not use the ${{secret(32)}} when you created the template?
flpcrazzy
flpcrazzyOP15mo ago
I didn't change anything, I left everything default
Brody
Brody15mo ago
ohhhhh maybe you deployed this template when that template variable wasn't rendering it's since been fixed
flpcrazzy
flpcrazzyOP15mo ago
This last deploy I just did now
t3ch_w1z4rd
t3ch_w1z4rd15mo ago
but this wasn't a issue till date. I have set this from template itself as default variable
Brody
Brody15mo ago
yes but it only renders when you first deploy, and they could have deployed this template when that variable wasn't rendering
flpcrazzy
flpcrazzyOP15mo ago
ok I got it What can I do to resolve the issue?
Brody
Brody15mo ago
generate your own 32 character key and use it
flpcrazzy
flpcrazzyOP15mo ago
Where can I generate this key? and where do i put the key?
Brody
Brody15mo ago
lookup any key generator online, and you put it in your service variables
flpcrazzy
flpcrazzyOP15mo ago
Ok, I'll try to do that and report back here
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
I solved that previous problem, but I'm still having problem with the preview url
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
No description
Brody
Brody15mo ago
try setting NEXTAUTH_URL_INTERNAL to https://${{RAILWAY_PUBLIC_DOMAIN}} in the builders service variables
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
I added the variable and did the redeploy but the error still persists
Brody
Brody15mo ago
okay just replace the localhost with the domain from railway
flpcrazzy
flpcrazzyOP15mo ago
No description
flpcrazzy
flpcrazzyOP15mo ago
No description
Brody
Brody15mo ago
shouldn't you use the builders domain?
flpcrazzy
flpcrazzyOP15mo ago
I'm using
No description
flpcrazzy
flpcrazzyOP15mo ago
I have a problem with the viewer url I have no idea how to solve it, I've tried everything Before it was working normally
Brody
Brody15mo ago
no I mean use the builders domain in the webhook url
flpcrazzy
flpcrazzyOP15mo ago
here?
No description
Brody
Brody15mo ago
what no not at all instead of localhost:3001 use the builders domain
flpcrazzy
flpcrazzyOP15mo ago
in viewer url?
Brody
Brody15mo ago
use the builders domain instead of localhost:3001
flpcrazzy
flpcrazzyOP15mo ago
I tried but it didn't work
Want results from more Discord servers?
Add your server