Closed ohs30359-nobuhara closed 10 months ago
I encountered the same issue, and need to use with input-raw-override-snaplen
option, for example:
gor --input-raw :80 --output-http http://receiver.xxxxx/ --input-raw-buffer-size 1048576 --input-raw-override-snaplen
thank you. I solved it with what you suggested! Thank you for your help!
I am trying to use goreplay to transfer JSON payloads to an application via POST. This application is running on Kubernetes, where the main container's traffic is being intercepted by a sidecar running goreplay and then forwarded to another pod.
However, I am encountering errors during the transfer of POSTed JSON payloads in this application, and this issue seems to occur even for small payload sizes of around 2KB. The FAQ mentions the possibility of packet loss for larger payloads exceeding 200KB, but I don't think this issue should be applicable to a JSON payload of this size.
FAQ · buger/goreplay Wiki · GitHub
I apologize for the inconvenience. Could you please provide me with your insights on this issue?
Execution Environment:
Docker (golang:1.17-alpine) goreplay Version 1.3.0 Command: gor --input-raw :80 --output-http http://receiver.xxxxx --input-raw-buffer-size 1048576