I'm using Octoprint connected to my printer via a 10cm USB cable and it works fine most of the time.
However, it is quite sensitive to electromagnetic noise, the kind that is induced by static electricity discharging in the room.
For instance, it happens when I get up too fast from my desk chair, octoprint gets disconnected from the printer and thus will fail midprint.
The chair is not the Ikea chair infamously known for turning off PC monitors, but it seems it has the same kind of potential for harm.
I did not observe my monitors turning off then on, so it must be less violent.
What did you already try to solve it?
Getting up slowly helps, but this needs to be a reflex in my mind, which is far from certain here.
Have you tried running in safe mode?
Not applicable
Systeminfo Bundle
Not applicable, this is hardware related
Additional information about your setup
I was thinking about adding a ferrite bead on the cable, but I'm not sure which characteristics it must have.
Has anyone encountered this? Would any other suggestion work, like a grounded mesh around the SBC and cable?
You haven't given us much to go on as we know more about your chair than we do about what is attached to each end of the USB cable. Please give us details. The bundle would help for OctoPrint end.
As for the USB cable, you should look for one that is shielded with ferrite beads. You could add the beads to your existing cable, but if its not shielded, then I'm not sure how much the beads would help. Adding shielding to an existing cable that isn't easy.
Do a google search for "shielded usb cable with ferrite bead" and find one with the desired length and connectors. If you just want to try adding beads to your existing cable, a google search for "ferrite beads on cables" should find something that will work.