-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
The web app continuously polls /users/profile even when the user is not logged in, flooding the browser console with 401 errors.
Steps to Reproduce
- Open
https://app.daydream.livein an incognito/private window (not logged in) - Open browser DevTools → Console
- Navigate around the site
- Observe repeated 401 errors for
https://api.daydream.live/users/profile
Expected Behavior
The app should check authentication state first and avoid making authenticated API calls when the user is clearly not logged in.
Actual Behavior
Continuous polling of /users/profile endpoint regardless of auth state, resulting in:
- Console spam with 401 errors
- Unnecessary API calls
- Potential rate limiting issues
Technical Notes
- Errors appear every few seconds across all pages
- Auth state should be determined once and cached
Environment
- URL: app.daydream.live
- Found during browser testing on 2026-02-20
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working