Initially the issue was circuitikz.sty was missing. Then I tried to update package from MiKTeX console package option and I got the error
SSL connect error
and the code was
code="35", url="https://ims.jit.ac.in/repo/tex-archive/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma"
Then I uninstalled MiKTeX and reinstalled it. After that MiKTeX console is not updating and doesn't let any package to be updated. When I try to check update for console, it shows

When I try to update packages, it shows:

Also the Texstudio has stopped the compilation. This is becoming a notorious problem for my purpose. Any sort of suggestion is welcome!
ims.jit.ac.inwas not working, i chosemirrors.sustech.edu.cnfrom China. Will it cause any legal issue? – Manjoy Das Apr 27 '21 at 09:01