9 months ago
Project ID 32caf21c-f7f7-4918-a2f4-ebe21a38da44
Hi, Ive deployed from the Outline Template. Ive added Slack for authentication.
When testing I get this error in the console:
"Failed to encrypt database column (accessToken). The SECRET_KEY environment variable is not the correct length."
What am I missing?
12 Replies
9 months ago
Sounds to me like your SECRET_KEY environment variable is not the correct length
9 months ago
Either it doesn’t exist or it’s not the correct length. Reference the docs for the program you’re attempting to deploy
9 months ago
Thank you for your reply. That’s what I did. The docs at railway mention a length of 64. the keys are generated by a formula and are in fact 64characters long.
Other comments mention something related to OpenSSL I’m not very familiar with openssl, tho 😅
9 months ago
Mind sending the template you’re deploying? I can take a peek
9 months ago
Yes Sir 🙌
9 months ago
adam meant you should reference the docs for the software you are trying to deploy, not the railway docs
9 months ago
9 months ago
Does that help? I don’t know 🤷♂️
9 months ago
I pointed you to the docs for your reference, not mine. You should be familiar with the program you’re attempting to host
9 months ago
Okay. Well. I’m not the one who made the template. And it obviously doesn’t work and there is no hint for how it can get fixed.
9 months ago
If the template isn't working, you're welcome to reach out to the author. They're listed on the template page
9 months ago
!s
Status changed to Solved adam • 9 months ago