Skip to content

[HYPER-11] fix: increase healthcheck timeout and document security env vars#29

Merged
aspiers merged 1 commit intomainfrom
gen-keys-jetstream-fix
Feb 11, 2026
Merged

[HYPER-11] fix: increase healthcheck timeout and document security env vars#29
aspiers merged 1 commit intomainfrom
gen-keys-jetstream-fix

Conversation

@aspiers
Copy link
Contributor

@aspiers aspiers commented Feb 11, 2026

Summary

  • Increase Railway healthcheckTimeout from 3s to 10s — startup takes longer now that 15 lexicons are loaded from the database on boot, causing the healthcheck to fail.
  • Document TRUST_PROXY_HEADERS, ALLOWED_ORIGINS, and SECRET_KEY_BASE in the README Configuration section. These were introduced in the security fix (0d95edf) but never documented, which caused the 400 errors on the Vercel frontend after redeployment.
  • Add .vercel to .gitignore.

Context

After migrating data from SQLite to PostgreSQL on Railway, the service started returning 400 "admin privileges required" errors because TRUST_PROXY_HEADERS was not set (it was added in the security fix but defaults to false). This has now been set on Railway via railway variables --set.

The healthcheck timeout of 3 seconds was insufficient because the new deployment loads 15 lexicons from the database at startup, pushing boot time past the healthcheck window.

- Increase Railway healthcheckTimeout from 3s to 10s in case this is
  an issue.
- Document TRUST_PROXY_HEADERS, ALLOWED_ORIGINS, and SECRET_KEY_BASE
  in the README Configuration section. These were introduced in the
  security fix (0d95edf) but never documented.
- Add .vercel to .gitignore.
@vercel
Copy link

vercel bot commented Feb 11, 2026

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

Project Deployment Actions Updated (UTC)
hyperindex Ready Ready Preview, Comment Feb 11, 2026 4:00am

Request Review

@railway-app
Copy link

railway-app bot commented Feb 11, 2026

🚅 Environment hyperindex-pr-29 in hypercerts has no services deployed.

@aspiers aspiers merged commit d8a5df9 into main Feb 11, 2026
5 checks passed
@aspiers aspiers deleted the gen-keys-jetstream-fix branch February 11, 2026 05:56
@aspiers aspiers changed the title fix: increase healthcheck timeout and document security env vars [HYPER-11] fix: increase healthcheck timeout and document security env vars Feb 11, 2026
@linear
Copy link

linear bot commented Feb 11, 2026

HYPER-11 Fix Hyperindex

Seems to have stopped working

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