Check whether is wordpress.org plugin library is reachable by your website host. This plugin sends a small curl request to check that your website can communicate with api.wordpress.org.
This plugin is available for download to be used on your WordPress self-hosted installation.