Skip to content

Railway template fails on deploy with SECRET_KEY is too short error message #612

Description

@Jolg42

Hi there,

It seems the default template fails on deploy with default config.

How to reproduce

Logs

file:///app/dist/src/env.js:5
if (secretKey.length < SECRET_KEY_MINIMUM_LENGTH) throw new Error(`SECRET_KEY is too short, received: ${secretKey.length}, expected: ${SECRET_KEY_MINIMUM_LENGTH}`);
                                                        ^
Error: SECRET_KEY is too short, received: 32, expected: 44
    at file:///app/dist/src/env.js:5:57
    at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async node:internal/modules/esm/loader:647:26
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
Node.js v24.20.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions