Same as this one. The switch is not getting enough power which causes it to turn off or reboot.
See my comments there.