We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
... and that make OpenTelemetry (in particular the GRCP exporter) unhappy:
traces export: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
Tracking that down, I found that runLookupWithFollowup add a target attribute as string: https://github.com/libp2p/go-libp2p-kad-dht/blob/master/query.go#L84
runLookupWithFollowup
target
However, that target is a DHT key (binary) cast here as a string. It's not valid utf-8.
string
A simple fix would be to b58 encode that value again.
b58
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
... and that make OpenTelemetry (in particular the GRCP exporter) unhappy:
Tracking that down, I found that
runLookupWithFollowup
add atarget
attribute as string: https://github.com/libp2p/go-libp2p-kad-dht/blob/master/query.go#L84However, that
target
is a DHT key (binary) cast here as astring
. It's not valid utf-8.A simple fix would be to
b58
encode that value again.The text was updated successfully, but these errors were encountered: