{"record":{"id":"ed5587bbbcadac80","repo":"probelabs/goreplay","slug":"binary-output-is-only-available-in-pro-version","errorCode":null,"errorMessage":"binary output is only available in PRO version","messagePattern":"binary output is only available in PRO version","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"output_binary.go","lineNumber":38,"sourceCode":"\tTrackResponses bool          `json:\"output-binary-track-response\"`\n}\n\n// BinaryOutput plugin manage pool of workers which send request to replayed server\n// By default workers pool is dynamic and starts with 10 workers\n// You can specify fixed number of workers using `--output-tcp-workers`\ntype BinaryOutput struct {\n\taddress string\n}\n\n// NewBinaryOutput constructor for BinaryOutput\n// Initialize workers\nfunc NewBinaryOutput(address string, config *BinaryOutputConfig) PluginReadWriter {\n\treturn &BinaryOutput{address: address}\n}\n\n// PluginWrite writes a message to this plugin\nfunc (o *BinaryOutput) PluginWrite(msg *Message) (n int, err error) {\n\treturn 0, errors.New(\"binary output is only available in PRO version\")\n}\n\n// PluginRead reads a message from this plugin\nfunc (o *BinaryOutput) PluginRead() (*Message, error) {\n\treturn nil, errors.New(\"binary output is only available in PRO version\")\n}\n\nfunc (o *BinaryOutput) String() string {\n\treturn \"Binary output: \" + o.address + \" (PRO version required)\"\n}\n\n// Close closes this plugin for reading\nfunc (o *BinaryOutput) Close() error {\n\treturn nil\n}\n","sourceCodeStart":20,"sourceCodeEnd":54,"githubUrl":"https://github.com/probelabs/goreplay/blob/251e45abd242886bb64ff2b2dc98789556b56330/output_binary.go#L20-L54","documentation":"Sentinel error from the open-source BinaryOutput.PluginWrite: binary output is a paywalled PRO feature, so every write attempt in the OSS build returns this error instead of sending data to the replay address.","triggerScenarios":"Thrown at output_binary.go:38 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use the PRO version of gor if binary output is required","Switch to --output-file or --output-tcp which are available in the OSS build","Remove --output-binary flags from the command line"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"251e45abd242886bb64ff2b2dc98789556b56330","analyzedAt":"2026-09-02T16:44:11.369Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T21:17:11.164Z"}