BrokenPipe error when using actix-web

I am using actix-web to get trace records from a simulator to a visualizer running in the browser. An actix-web client in the simulator sends records to an actix-web server, which massages the data. I can then get that massaged data in a browser and use JavaScript to display the results. It all works great, until it doesn't.

With certain configurations, I usually get

Error from server Send(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })

I never get the error with other configurations. All configurations are comparable in the amount and rate of data sent as well as total run time. I'm not getting any errors on the server console.

I have no idea how to find the source of the error.

1 Like