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

Malformed UTF-8 data #2

Open
WouterFlorijn opened this issue Aug 11, 2020 · 3 comments
Open

Malformed UTF-8 data #2

WouterFlorijn opened this issue Aug 11, 2020 · 3 comments

Comments

@WouterFlorijn
Copy link

When retrieving values (getAsync function), regularly an exception is thrown, which is visible when adding a console.log(e) in the catch (e) block:

Malformed UTF-8 data

After debugging and logging, I found that the retrieved data is indeed completely scrambled when this happens, as if the wrong key is used to decrypt it.

I haven't figured out why this happens, but it happens very regularly (I would say about a 50% chance per reducer on every rehydration), making this package unusable. Is anyone else experiencing this, and is there a potential fix?

@actuallydan
Copy link

For whatever it's worth, I've also just started getting this issue and ultimately decided against using it. My use-case is a bit difficult to extricate a useful reproduction of the error, but hopefully someday either the maintainer or someone else is able to address this issue.

@mariomurrent-softwaresolutions
Copy link

mariomurrent-softwaresolutions commented Dec 27, 2021

@WouterFlorijn & @actuallydan What kind of data are you trying to store?

@ochodnicky
Copy link

I have the same problem with Malformed UTF-8 data and I'm storing only language strings like "en", "es" etc.

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

4 participants