Hi Sergi,
Sorry, made confusion.
For SCCM some potential solutions,
- Reset the Windows Update Agent data store https://video2.skills-academy.com/en-us/troubleshoot/mem/configmgr/update-management/troubleshoot-software-update-scan-failures (please read all article).
- You can check your proxy settings (if applied) You also have an WUTroble https://video2.skills-academy.com/en-us/troubleshoot/mem/configmgr/update-management/troubleshoot-software-update-scan-failures
|-------------------------------->>> If the reply was helpful please don't forget to upvote and/or accept as answer, thank you