Discover not working

Plasma-discover is not working
it can update any installed package but it can’t browse other packages on the internet or get routed to from the kde website.

  • Parrot version in use 5.1

UPDATE:
After some searching I found that the error is related to Parrot OS and the appstream DB.
HERE