Check wp-config.php file ig the following is uncommented:

//define('WP_HTTP_BLOCK_EXTERNAL', true);

or if the following is enabled

define('FS_METHOD', 'direct');

 

Else use define(‘WP_DEBUG’, false); to try and define the problem.