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

Webbhook body.encode error #281

Closed
skrzacikus opened this issue Feb 14, 2023 · 4 comments
Closed

Webbhook body.encode error #281

skrzacikus opened this issue Feb 14, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@skrzacikus
Copy link

There is an error during sending webhook test notification:
[tgtg][notifiers.py:send:57][ERROR] Failed sending WebHook: https://api.pushover.net/1/messages.json: 'latin-1' codec can't encode characters in position 82-83: Body ('ść') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.

There is no problem in version 1.14.8

@Der-Henning
Copy link
Owner

Hi @skrzacikus.
Thank you for the feedback.
The encoding is missing for none JSON data and I will create a fix as soon as possible.

@Der-Henning Der-Henning self-assigned this Feb 14, 2023
@Der-Henning Der-Henning added the bug Something isn't working label Feb 14, 2023
Der-Henning added a commit that referenced this issue Feb 14, 2023
Fix missing webhook body encoding #281
@Der-Henning
Copy link
Owner

The fix is part of the latest pre-Release and the edge docker images.
Any feedback is appreciated!

@skrzacikus
Copy link
Author

pre-Release version works fine. Thank you for fix.

@Der-Henning
Copy link
Owner

Created release v1.15.1. The binaries and docker images will be available in a couple of minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants