Error with knewstuff, Loading of providers from file: https://autoconfig.kde.org/ocs/providers.xml failed!

Whenever I try to access anything online under the section “Global Themes”, like icons,themes,cursors, I get this error. I have no proxy enabled and also kde.store.org is working perfectly in browser. I have found some posts about this issue and also some solutions but nothing seems to work for me. Also when I tried “curl -I https://autoconfig.kde.org/ocs/providers.xml”, I got this error “curl: (35) Recv failure: Connection reset by peer”.

My system specs:

Laptop: Dell Latitude 5300

Operating System: Fedora Linux 42

KDE Plasma Version: 6.4.4

KDE Frameworks Version: 6.17.0

Qt Version: 6.9.1

Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)

Graphics Platform: Wayland