Plasma Discover says "please connect to the internet"

Hey I recently installed plasma-discover on my desktop and it just won’t work it doesn’t connect to the internet or lists any installed apps, when I run plasma-discover on my terminal I get an error (pastebin link given below).Does anyone else encountered this problem anyone knows any possible solutions?

Please see the heading - Featured
Featured means more applications that are suggested for you to install and this obviously need internet because it’s not installed applications nor you can download it offline.
You have another option named “installed”
Or use apt list --installed if for packages on system

Same issue
My Internet is connected but still showing this error…??
And other things are working fine like. Firefox, Chrome etc.