-
Notifications
You must be signed in to change notification settings - Fork 59
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
Wazuh API returned an error message. Error: Error executing internal command. Exit code: 1 #58
Comments
As a temporally solution I made a trigger on the 'agent' table. It's "after update" trigger. May be the best way is to create before trigger on create and on update events. But the count of OS names is not so huge, so I don't care about it. :)
If you have more then one wrong name, you can add 'update' command in the BEGIN-END section. |
Hello @OsipkinVV, We're glad you found a temporary solution for your problem. We're working on a real solution to prevent more character encoding problems. Best regards, |
Same issue. |
Hello, This issue has been solved in wazuh/wazuh#478. The fix will be available for Wazuh 3.2.2 😄 ! Thank you so much for your patience, |
Hello!
Thank you for your amazing software.
But, the issue #20 is still actual.
I think that the reason in a inconsistency of the charsets.
On the server side:
I looked at the commit #b3c734a "Fix bug when microsoft version command has cyrillic characters" and saw that all the changes were in the file src/shared/file_op.c. In this file used function "fopen":
648 finalfp = fopen(finalpath, "w");
But on the MSDN support page
So, all file-IO functions should be rewritten for UTF-8 support. For example like this:
finalfp = fopen(finalpath, "w,ccs=UTF-8");
With the best regards,
Vladislav.
The text was updated successfully, but these errors were encountered: