a year 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
a year ago
Sounds to me like your SECRET_KEY environment variable is not the correct length
a year ago
Either it doesn’t exist or it’s not the correct length. Reference the docs for the program you’re attempting to deploy
a year 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 😅
a year ago
Mind sending the template you’re deploying? I can take a peek
a year ago
Yes Sir 🙌
a year ago
adam meant you should reference the docs for the software you are trying to deploy, not the railway docs
a year ago
a year ago
Does that help? I don’t know 🤷♂️
a year ago
I pointed you to the docs for your reference, not mine. You should be familiar with the program you’re attempting to host
a year 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.
a year ago
If the template isn't working, you're welcome to reach out to the author. They're listed on the template page
a year ago
!s
Status changed to Solved adam • about 1 year ago