screenpipe
screenpipe copied to clipboard
[bug] Connection lost. retrying
Hello so i got this version :
screenpipe_0.14.2_x64-setup.exe
Status loks good :
but when i try to got in timeline i got this error :
and i have nothing to see and the error page :
but on the folder i can see all video data recorded :
what do u think is wrong please ?
same here +1
same here +1
@tribhuwan-kumar can you help?
/bounty 100
💎 $100 bounty • Screenpi.pe
Steps to solve:
- Start working: Comment
/attempt #787with your implementation plan - Submit work: Create a pull request including
/claim #787in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to mediar-ai/screenpipe!
Add a bounty • Share on socials
| Attempt | Started (GMT+0) | Solution |
|---|---|---|
| 🟢 @tribhuwan-kumar | #979 |
@tribhuwan-kumar can you help?
/bounty 100
sure, I'll update you soon!
screenpipe_0.14.2_x64-setup.exe
@gamersalpha can you update to latest version? i just checked it and its working fine
i feel like facing this issue randomly on windows
i feel like facing this issue randomly on windows
I've seen this problem on macOS as well, maybe it's a compilation issue?
something related to react state i believe because usually i right click reload the ui and it works
something related to react state i believe because usually i right click reload the ui and it works
yes, maybe that's the reason
also this could possibly occur when the timeline has not enough data to stream frames, if you look into the timeline page the loading frames and connection lost is overlapping. this could depends on url response
const url = `http://localhost:3030/stream/frames?start_time=${startTime.toISOString()}&end_time=${endTime.toISOString()}&order=descending&target_fps=${target_fps}`;
setLoadedTimeRange({
start: startTime,
end: endTime,
});
console.log("starting stream:", url);
const eventSource = new EventSource(url);
eventSourceRef.current = eventSource;
eventSource.onerror = (error) => {
if (eventSource.readyState === EventSource.CLOSED) {
console.log("stream ended (expected behavior)", error);
setIsLoading(false);
return;
}
console.error("eventsource error:", error);
setError("connection lost. retrying...");
};
something related to react state i believe because usually i right click reload the ui and it works
yes, maybe that's the reason also this could possibly occur when the timeline has not enough data to stream frames, if you look into the timeline page the
loading framesandconnection lostis overlapping. this could depends onurlresponseconst url = `http://localhost:3030/stream/frames?start_time=${startTime.toISOString()}&end_time=${endTime.toISOString()}&order=descending&target_fps=${target_fps}`; setLoadedTimeRange({ start: startTime, end: endTime, }); console.log("starting stream:", url); const eventSource = new EventSource(url); eventSourceRef.current = eventSource;eventSource.onerror = (error) => { if (eventSource.readyState === EventSource.CLOSED) { console.log("stream ended (expected behavior)", error); setIsLoading(false); return; } console.error("eventsource error:", error); setError("connection lost. retrying..."); };
can you send a PR? happy to give tip
maybe retry or something, idk
can you send a PR?
sure, there are some edge cases to handle as an example:
💡 @tribhuwan-kumar submitted a pull request that claims the bounty. You can visit your bounty board to reward.