openhuman
openhuman copied to clipboard
Core state polling and rewards API request time out in the app console
Summary
Core state polling and rewards API request time out in the app console.
Problem
The app console shows repeated core-state polling failures and a rewards API timeout.
Observed errors:
- [core-state] poll failed (attempt 1/5)
- [core-state] poll failed (attempt 2/5)
- Failed to load resource: net::ERR_TIMED_OUT
- api.tinyhumans.ai/rewards/me
Steps to reproduce:
- Open OpenHuman desktop app.
- Open DevTools console.
- Navigate through app startup / Rewards-related state.
- Observe repeated poll failures and timeout for /rewards/me.
Environment:
- Desktop app
- Platform/version unknown
- Backend endpoint: api.tinyhumans.ai/rewards/me
Acceptance criteria
- [ ] Repro gone - Console no longer shows repeated core-state poll failures or rewards API timeout.
- [ ] Regression safety - Unit, integration, or E2E coverage added or updated.
- [ ] Diff coverage >= 80% - Fix PR meets changed-lines coverage gate.
- [ ] Graceful failure - If /rewards/me times out, UI shows recoverable state and does not spam retries.
- [ ] Diagnostics - Logs include useful reason/status without noisy repetition.
Related
Screenshot provided showing DevTools errors for core-state poll failed and api.tinyhumans.ai/rewards/me timeout.