i have reflash the PI for a few times to solve this error, but still keep occuring, is there any methods to deal with it without reflashing the PI board. My great thx if anyone can help me solve this urgent problem!
The issue is most likely caused by version incompatibility or outdated configuration files. First, back up the existing configuration files, then refer to the official documentation for Klipper and Moonraker to check and update the parameters in the configuration files.
Thanks a lot to ur suggestions. According to the moonraker documentation I have double checked the config earlier yesterday, and it looks nothing wrong. I found some comments, uninstalled the moonraker and reload it with ssh, which also not working for me. And I found today the connection error sometimes occurs after clearing of klipper or moonraker .log with mainsail, but I cannot see any correspondence between these things.
backup your config folder in printer_data with WinSCP or similar, install the lastest release in btt github, then update all and import your files contained in your backup in the new config folder, except the moonraker.conf