hydrogen-web
hydrogen-web copied to clipboard
Empty JSON response disables sync until Hydrogen is manually reloaded
Describe the bug
Sync. fails with the following message, but then does not retry sync. after some delay:
Sync failed because of SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Expected behavior
Hydrogen reattempts sync. after a delay instead of giving up permanently, which silently prevents message delivery.
Desktop (please complete the following information):
Browser: Firefox 102 ESR.
Additional context
I haven't seen any other sync. errors, but in situations where sync. fails as a result of other returned-data errors, I'd expect Hydrogen to ordinarily retry then too instead of giving up permanently.
Can you share your logs?