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

Multiprocess application sometimes throwing UnicodeDecodeError #146

Open
Velan987 opened this issue Dec 9, 2022 · 1 comment
Open

Multiprocess application sometimes throwing UnicodeDecodeError #146

Velan987 opened this issue Dec 9, 2022 · 1 comment

Comments

@Velan987
Copy link

Velan987 commented Dec 9, 2022

Hi
I have multiprocess enabled application, sometimes it is throwing below error
File "usr/local/lib/python3.8/site-packages/prometheus_client/mmap_dict.py", line 44, in _read_all_values
yield encoded_key.decode('utf-8'), value, pos
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 18: invalid continuation byte.

After this error my application is crashed. Can someone please help me on this?

@rycus86
Copy link
Owner

rycus86 commented Dec 9, 2022

As this is coming from the prometheus_client package, I'd ask there first, if you haven't done so already.

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