Skip to content

fix(backend): Railway boot — rate-limit IPv6 + require arbitrator secret - #783

Merged
dotunv merged 2 commits into
mainfrom
fix/railway-ratelimit-ipv6-1788991911
Sep 9, 2026
Merged

fix(backend): Railway boot — rate-limit IPv6 + require arbitrator secret#783
dotunv merged 2 commits into
mainfrom
fix/railway-ratelimit-ipv6-1788991911

Conversation

@dotunv

@dotunv dotunv commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix ERR_ERL_KEY_GEN_IPV6 crash on Railway boot from campaignComments.js custom rate limiter (req.ip without ipKeyGenerator).
  • Require and format-check ARBITRATOR_SECRET_KEY in startup env validation so missing Stellar secrets fail with a clear message before Keypair.fromSecret throws.

Test plan

  • Railway redeploy with root backend/ after merge
  • Confirm server stays up (no ValidationError from express-rate-limit)
  • Confirm missing ARBITRATOR_SECRET_KEY prints clear missing-env error

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
crowdpay Ready Ready Preview Sep 9, 2026 10:13pm UTC

@dotunv
dotunv merged commit a671024 into main Sep 9, 2026
3 of 6 checks passed
@dotunv
dotunv deleted the fix/railway-ratelimit-ipv6-1788991911 branch September 9, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant