forwardemail / forwardemail/forwardemail.net

Add custom domain name error:Invalid key length

Open
#296 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.7k
Forks
203
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug

**Node.js version:v18.20.4

**OS version: Ubuntu 24.04.1 LTS

```
Add custom domain name error:Invalid key length
Modified the SRD_SECRET parameter of. env
I have tried 24 bit, 32 bit, 48 bit, and 64 bit, but none of them worked

Generate: openssl rand - base64 32 | tr - d/=+| cut - c -32
```

![QQ_1727432439603](https://github.com/user-attachments/assets/2479da3e-fba3-4f3a-acc4-146644dfae33)
![QQ_1727432500841](https://github.com/user-attachments/assets/05511244-229b-4dcc-a698-78580b249e2b)
![QQ_1727432534344](https://github.com/user-attachments/assets/d54de620-7de0-4139-b7c7-9fde12e3caf8)

## Describe the bug 2
ERROR:zygote_host_impl_linux.cc(99)] Running as root without --no-sandbox is not supported.
How to add this parameter when starting

![QQ_1727432943698](https://github.com/user-attachments/assets/59a57600-0365-4c3d-8691-90115a0a4aa0)

Thank you, looking forward to your reply

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the custom-domain setup on Node.js v18.20.4 and Ubuntu 24.04.1 with the reported SRD_SECRET values, then investigate the separate root Chromium --no-sandbox error. Done means the source of both errors is established and the custom-domain setup completes without the reported failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.