Cannot sync my windows and android or even web!

I´m trying to sync what I have in my windows anki with web but when I enter my details (which im sure they´re right) this error appears:
A network error occured
i´m really concerned cause my decks are´nt linked to an account and i might lose them with one small mistake.
can this error possibly happen because of my location(Iran)???

Your internet connection is probably having trouble accessing AnkiWeb’s servers. You may have more luck with a different wifi connection, syncing via your phone, or using a VPN.