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

Mixer StackDriver adapter: re-encode strings as utf8 #16966

Closed
mandarjog opened this issue Sep 10, 2019 · 1 comment · Fixed by #17114
Closed

Mixer StackDriver adapter: re-encode strings as utf8 #16966

mandarjog opened this issue Sep 10, 2019 · 1 comment · Fixed by #17114

Comments

@mandarjog
Copy link
Contributor

The following error was seen when Mixer sent invalid utf-8 to SD.
rpc error: code = Internal desc = grpc: error while marshaling: proto: field "google.logging.v2.LogEntry.Labels" contains invalid UTF-8 {"adapter": "handler.stackdriver.istio-system"}

The following unsanitized user agent string caused the issue.

User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16D57�

This should be fixed in the SD adapter.

@mandarjog
Copy link
Contributor Author

This fix should be backported to 1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants