Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty JSON response disables sync until Hydrogen is manually reloaded #1126

Open
smithfred opened this issue Jul 20, 2023 · 1 comment
Open

Comments

@smithfred
Copy link

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.

@MidhunSureshR
Copy link
Member

Can you share your logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants