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

envoy error: string field contains invalid UTF-8 #1055

Closed
deepakd10 opened this issue Nov 28, 2024 · 3 comments
Closed

envoy error: string field contains invalid UTF-8 #1055

deepakd10 opened this issue Nov 28, 2024 · 3 comments
Labels

Comments

@deepakd10
Copy link

deepakd10 commented Nov 28, 2024

While trying to send ProcessingResponse_ImmediateResponse, with payload of format different than UTF-8, envoy throws error saying

"error":"rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8"

Content-Type: application/vnd.amazon.eventstream

sample payload

�������R��=��:event-type��messageStart
:content-type���application/json
:message-type���event{"p":"abcdefghijklmnopqrstuvwxy","role":"assistant"}�����������W�����:event-type���contentBlockDelta
:content-type���application/json
:message-type���event{"contentBlockIndex":0,"delta":{"text":"I"},"p":"abcdefghijklmno"}

details on vnd.amazon.eventstream https://docs.aws.amazon.com/lexv2/latest/dg/event-stream-encoding.html

@valerian-roche
Copy link
Contributor

Hey @deepakd10
From my understanding this issue relates to envoy and not the go-control-plane itself. If it is the case can you create an issue on the main repository. Otherwise can you provide more details on where this occurs?

Copy link

github-actions bot commented Jan 1, 2025

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 1, 2025
Copy link

github-actions bot commented Jan 8, 2025

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants