hashicorp / hashicorp/serf

Mistaken Code for serf

Open
#624 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
609
Avg merge
15h 1m
Merged PRs (30d)
3

Description

We have met some Serf encoding issue. How to encode and decode for serf event and payload?
How to fix this problem permanently?

serf_event_handler:247[INFO] Received Event: 'gP' Received Payload: '{"put": {"gPName": "nHo\xf3t"}}'
s is \xf3 not. The correct should be \x73
Such as "po髏": -> post
dis\x03\x82ver -> discover
c\xcd -> cm
驪ort ->sPort
Received Event: 'ta\xe2le' ->table
serf_udp_sender:31 [DEBUG] sent UDP message with data: ' member-join: c\xcd\x1f\\n\xa5' to localhost:56789

serf --version
Serf v0.8.0
Agent Protocol: 4 (Understands back to: 2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.