Auto-refresh for logs turns off after a short while due to some unspecified error
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Environment
SaaS ([https://sentry.io/]())
### Steps to Reproduce
* Go to Explore-Logs and select a period, filter on some text string that gives just a few log entries. I used 24H period and a filter that captured a single log event in that time.
* Enable auto-refresh.
* Open the browser Developer Tools on Network tab. Clear it.
* Note what logs you see.
* Wait 5-10 minutes.
### Expected Result
The auto-refresh continues to be active.
### Actual Result
The auto-refresh switch turns off. It has a hoverable message saying "Auto-refresh was disabled due to an error fetching logs"
The logs list is empty.
The Network tab in DevTools shows no obvious errors (status > 400 or similar).
This is on Chrome for Windows. It has been happening all day, very "reliably".
### Product Area
Explore
### Link
*No response*
### DSN
[https://898f4675a355bc60e649045af6055299@o4507384124801024.ingest.us.sentry.io/4507384132009984]()
### Version
*No response*
Contributor guide
Research direction
Start by reproducing the issue in Explore-Logs with the stated 24H period, sparse text filter, auto-refresh, and browser Network tools. Confirm the refresh switch disables after 5–10 minutes and determine the fetching error; done means refresh remains enabled and the logs list continues updating.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100