hydrogen-web icon indicating copy to clipboard operation
hydrogen-web copied to clipboard

Empty JSON response disables sync until Hydrogen is manually reloaded

Open smithfred opened this issue 2 years ago • 1 comments

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.

smithfred avatar Jul 20 '23 10:07 smithfred

Can you share your logs?

MidhunSureshR avatar Jul 20 '23 10:07 MidhunSureshR