To solve the Cursor connection problem, you can try changing the HTTP protocol setting in the Cursor settings.
File > Preferences > Cursor Settings > Network > change HTTP to 1.1
If there are still issues, try using DNS change or VPNs.
Since I know many Persian IT guys are habituated to search in English, I reposted this in English.
ممکنه مشکل مربوط به زمان سیستمت هم باشه اون را هم چک کن که بروز باشه.
هم چنین چک کن که واقعا کرسر داره از پروکسی تو استفاده می کنه، داخل تنظیمات می تونی پروکسی هم براش ست کنی که از پروکسی تو استفاده کنه.