-
Notifications
You must be signed in to change notification settings - Fork 88
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
Failure using method (v2_runner_on_ok) in callback plugin ... 'utf-8' codec can't encode character '\udc80' in position 1886: surrogates not allowed #591
Comments
This is (partially) a problem in ansible-core's |
Hmm, I looked at the module, the documentation claims that the extension value is Base64 encoded, but it actually isn't - that's what's breaking the callback. I traced back the incorrect documentation to ansible/ansible@054285c#diff-dac138d1d6f28769493a6ef20f3b41996c9a792fb948a3a072d7f808eb6f4c07. Maybe the Anyway, this is something that we can fix, in two ways:
|
Hmm, thinking about it while working on it, turning these values to valid UTF-8 is a breaking change similar to just changing them to Base64 encoded... This is something we shouldn't really do. |
#592 adds an |
Next: deprecate the current default value of |
#600 does the deprecation. |
SUMMARY
When attempting to use the example from community.crypto.get_certificate contact google.com, it triggers the exception below.
ISSUE TYPE
COMPONENT NAME
community.crypto.get_certificate
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Running locally on Ubuntu 22.04 Desktop
Kernel Linux derek 5.19.0-38-generic
STEPS TO REPRODUCE
Running the playbook below with
-vvv
, generates the error.I've updated Ansible and have tried installing older versions of the collection with no success. I have not other issues using community or buildin modules, only this crypto module.
EXPECTED RESULTS
I expect it to not trigger an exception.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: