ement.el
ement.el copied to clipboard
If initial sync fails, the session should be considered disconnected
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.)
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 The bug you're reporting is a different one. Please file a new report and include the backtrace, etc.