sipeed / NanoKVM

NanoKVM: Affordable, Multifunctional, Nano RISC-V IP-KVM
848 stars 7 forks source link

NanoKVM sometimes locks up when restarting the KVM service #16

Closed polyzium closed 2 days ago

polyzium commented 3 weeks ago

For frontend changes and troubleshooting scenarios, it is necessary to restart the KVM service. However, in some cases, it locks up and is no longer accessible via the webUI or SSH, requiring a complete power cycle of the device.

wj-xiao commented 2 weeks ago

For frontend developing, I have updated the README.md. You don't need to restart all services every time.

Locking up may be a bug. We will attempt to reproduce it.

polyzium commented 2 weeks ago

I think this would be more appropriate for CONTRIBUTING than README, similar to what the OpenBMC webui-vue project's CONTRIBUTING.md does.

Now that I think about it, maybe you could set up a proxy like in the OpenBMC webui-vue so that all API requests are sent to the NanoKVM?

wj-xiao commented 2 weeks ago

I think this would be more appropriate for CONTRIBUTING than README, similar to what the OpenBMC webui-vue project's CONTRIBUTING.md does.

This project is still under development, I will add that once it's stable, possibly next month. So feel free to update the code.

Now that I think about it, maybe you could set up a proxy like in the OpenBMC webui-vue so that all API requests are sent to the NanoKVM?

To enable proxy, some settings need to be configured due to CORS. I will update it today.

polyzium commented 4 days ago

It happened again. I updated the KVM service to 2.0.7 and it locked up again without a way to remotely restart it.

wj-xiao commented 3 days ago

NanoKVM will automatically reboot after updating to 2.0.7. So maybe it's not locked up.

And 2.0.7 fixed this issue. The service won't be locked up due to excessive restarts.

wj-xiao commented 2 days ago

Closed. Please reopen if it happens again.