How to fix Connection failed issue

I was chatting with the agent. Suddenly, the connection lost.
I re-installed cursor but didn’t fix it.

The error info:
Connection failed. If the problem persists, please check your internet connection or VPN.
Request ID: 778e1fd1-b4cc-4455-88ac-bec4f60fcc38

Fixed. I opened a new chat, magically the connection worked.