Skip to content

chore(sync): log pulseagent.io registration outage (backend /app/api/* 502)#13

Draft
iPythoning wants to merge 5 commits into
mainfrom
claude/pulseagent-registration-issue-3zcxdp
Draft

chore(sync): log pulseagent.io registration outage (backend /app/api/* 502)#13
iPythoning wants to merge 5 commits into
mainfrom
claude/pulseagent-registration-issue-3zcxdp

Conversation

@iPythoning

Copy link
Copy Markdown
Owner

Summary

User reported "pulseagent.io 又无法注册了" (registration broken again). I probed the live site to diagnose, then recorded the incident in .sync/ — matching how this repo already tracks service outages (e.g. the WeChat HTTP-500 queue failures).

Diagnosis

Layer URL Result
Marketing site https://pulseagent.io ✅ 200
App shell (SPA) /app/login, /app/register ✅ 200 (static, via Cloudflare)
Registration config /app/api/auth/registration-config 502
Register /app/api/auth/register 502
Login /app/api/auth/login 502
Session /app/api/auth/me 502

Root cause: every /app/api/* route returns a Cloudflare-origin 502 Bad Gateway (server: cloudflare, 16-byte error code: 502 body), consistent across 3 retries. The static frontend is healthy; the API origin backend is down/crash-looping. The SPA hardcodes API base Bn = "/app/api", so the failing first call (GET …/registration-config) blocks the signup form. This is a full backend auth outage, not a registration-specific bug and not a frontend/DNS issue.

Scope

The pulseagent.io API backend is not part of this template repo (which ships docs, skills, deploy scripts, and the .sync/ content pipeline only). Remediation is on the backend deployment: restart/redeploy the API origin and confirm registration-config returns 200. This PR only records the incident + evidence + a recovery-verification command.

Files

  • .sync/incident-2026-07-registration-502.md — full incident report + verification command
  • .sync/sync-log.md — incident entry prepended

Verification

for p in registration-config register login me; do
  printf '%s -> ' "$p"
  curl -s -o /dev/null -w '%{http_code}\n' "https://pulseagent.io/app/api/auth/$p"
done
# 502 = still down · 200/4xx = recovered

🤖 Generated with Claude Code

https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M


Generated by Claude Code

claude added 5 commits July 13, 2026 08:00
…/* returns 502

User report: registration broken again. Probed and confirmed the marketing
site and SPA shell serve fine (200), but every /app/api/* route
(registration-config, register, login, me) returns Cloudflare-origin 502,
i.e. the API backend is down. Root cause and remediation are on the
pulseagent.io backend deployment, outside this template repo; recording the
incident and evidence here to match how .sync/ tracks service outages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M
The pulseagent.io outage widened: /app/api/* went 502 -> 504, and the
origin is now unreachable from Cloudflare on all paths (522), including the
marketing homepage. Recording the escalation timeline in the incident file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M
Homepage is back to 200 but /app/api/* requests hang with no response
(30s client timeout, 0 bytes). Failure mode shifted from full-site 522 to
frontend-up + API-backend-wedged. Registration still broken; fix targets
the hung API process, not the web tier.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M
Registration is working again: home 200, /app/api/auth/registration-config
200, POST /register returns 422 (validation) in ~0.8s instead of
5xx/timeout. Total observed downtime ~12h40m (502 -> 504 -> 522 full-site ->
frontend-up+API-hang -> recovered). Backend-side outage, resolved off-repo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M
Recovery did not hold: after ~1h healthy, /app/api/* is hanging again
(home 200 but registration-config + POST /register time out, 0 bytes/30s).
The API backend is flapping (recover -> wedge -> recover), suggesting an
unstable/intermittently-hung origin process rather than a one-off outage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Jm8mfc9PqLepqS93v4H7M
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.

2 participants