openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Core state polling and rewards API request time out in the app console

Open Al629176 opened this issue 6 months ago • 0 comments

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:

  1. Open OpenHuman desktop app.
  2. Open DevTools console.
  3. Navigate through app startup / Rewards-related state.
  4. 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.

Al629176 avatar May 05 '26 15:05 Al629176