'An error ocurred while starting the kernel in python spyder

I have a long-lived WebSocket connection for a live trading application with python. I got the following error in spyder after 4 days of working.

An error ocurred while starting the kernel
No error (bundled\zeromq\src\ip.cpp:629)

enter image description here

I use a Microsoft Windows 365 cloud PC. Windows 10 has been installed on this PC cloud. Does anyone know what is the problem? What should I do to prevent such kinds of errors?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source