ement.el icon indicating copy to clipboard operation
ement.el copied to clipboard

If initial sync fails, the session should be considered disconnected

Open alphapapa opened this issue 2 years ago • 2 comments

For example, if there's a JSON parse error for the initial sync response, we can't continue syncing, so the session should be "disconnected." (Of course, a timeout of the initial sync should still be retried.)

alphapapa avatar Sep 10 '23 13:09 alphapapa

I just ran into this behaviour today and was going to ask how to cancel that sync.

This is my log today

Ement: Response arrived after 30.68 seconds.  Reading 884 JSON response...
Ement: Reading JSON took 0.00 seconds
Ement: Reading events... 
Ement: Sync request sent.  Waiting for response...
Error running timer ‘plz--respond’: (invalid-read-syntax "#" 2 390446)

I've also got some warnings about Room avatar seems unreadable: <details> presumably linked to the JSON parsing issue.

krachynski avatar Feb 07 '24 16:02 krachynski

@krachynski The bug you're reporting is a different one. Please file a new report and include the backtrace, etc.

alphapapa avatar Feb 08 '24 10:02 alphapapa