ERROR: empty protobuf packet

Re: ERROR: empty protobuf packet

by Aaron Joos Lippeveldts -
Number of replies: 0

You're sending a bare SimpleMessage, instead of one wrapped in a SimplePacket (see packets.go).

It works if you instead do

nc -u 127.0.0.1 5000

{"simple":{"originPeerName":"sacha","relayPeerAddr":"127.0.0.1:44825","contents":"salut"}}