-
|
I'm testing http/protobuf between vector instances and ran into some 400s I do not understand. It seems like a http sink in protobuf mode adds extra null bytes at the start of the payload. As a reproducer I created a single instance to act as both the log generator, and sink, and source, with 2 pipelines i.e. config: In json mode this work and the console shows 2 lines: inspection in wireguard shows: However when switching to protobufs using: Note the 3 nulls at the start of the protobuf message. The full payload: If I post the proto and base64 string in https://www.protobufpal.com/ it does seem to decode it ok. If I use that same tool to encode just the message: and send that it does actually work: vector console shows: Same for adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Looks like its the framer that causes this: thats actually
|
Beta Was this translation helpful? Give feedback.
Looks like its the framer that causes this:
thats actually
0x12 == 18 == len(0802120e612074657374206d657373616765)