Title: Problem installing plguins/themes
Last modified: August 21, 2016

---

# Problem installing plguins/themes

 *  [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/)
 * Hi,
 * Since a few weeks ago I cant install any plugins/themes via the webinterface 
   I get an “unexpected error”
    Setting debug to true, reveals: Warning: stream_socket_client():
   unable to connect to ssl://api.wordpress.org:443 (Connection timed out) in /var/
   www/vardag/wp-includes/class-http.php on line 787
 * Never had this issue before. And I am at a loss on how to solve this.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/problem-installing-plguinsthemes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-installing-plguinsthemes/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358234)
 * You seem to have a server issue. Have you spoken to your hosts about it?
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358237)
 * Hrm,
 * I am hosting the blogs myself. So yes? 🙂
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358241)
 * Problems of this kind are sometimes caused by a failure to compile PHP with cUrl.
   Have you looked into that?
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358259)
 * Hi,
 * Yes, Curl is working as it should. (I think) Not really sure how to test it out?
 * A thing to note is – The server is hosting around 20 blogs or so, all have the
   same issues. It started about 12 days ago. And the last time i was even connected
   to the server was about 4 months ago.
 * Im hosting around 50 blogs in total, on 5 different servers, and its only THIS
   server that is acting up. So im pretty sure its something in the server itself,
   I just cant figure out what it is.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358267)
 * What’s the PHP max-execution time set to?
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358269)
 * max_execution_time 30
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358271)
 * Try increasing it to 60 and see what happens.
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358273)
 * No change.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358296)
 * Perhaps you need to open up a port in the server? Have a look at [http://stackoverflow.com/questions/1769189/stream-socket-client-unable-to-connect-connection-timed-out](http://stackoverflow.com/questions/1769189/stream-socket-client-unable-to-connect-connection-timed-out)
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358336)
 * I might try trouble-shooting by first taking a look at a phpinfo file just to
   re-confirm that cURL and OpenSSL support really are both enabled in PHP. Then
   you could compare that info to the output of a phpinfo file from one of your 
   other servers where things seem to be working properly, just to see if there 
   are any major differences that jump off the page at you.
 * You could also install the [Core Control plugin](http://wordpress.org/plugins/core-control/)
   and take a look through the Manage Transports and HTTP Related Filters sections
   in the External HTTP Access tab. That might be a fairly quick and efficient way
   to reveal something out of the ordinary. That’s really all just guesswork on 
   my part, but if something there isn’t in the green, it might point you in a helpful
   direction.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358337)
 * Thanks, Clayton.
 * **[@vitoc82](https://wordpress.org/support/users/vitoc82/)**: I asked Clayton
   to have a look at your problem as his server wrangling skills are far better 
   than mine. You’re in good hands now. 🙂
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358338)
 * You’re welcome.. I gave it my best guess! 🙂
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358348)
 * cURL support enabled
    cURL Information 7.21.0 SSL Version OpenSSL/0.9.8o (listed
   under Curl)
 * And listed under its own:
    OpenSSL support enabled OpenSSL Library Version OpenSSL
   0.9.8o 01 Jun 2010 OpenSSL Header Version
 * The only difference in the phpinfo is settings regarding fileuploads, etc.
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358349)
 * I tried Core Control with these results:
 *     ```
       URL	https://api.wordpress.org/plugins/info/1.0/
       Method	POST
       Result	error
       Error Details
       http_request_failed	connect() timed out!
       Time Taken	15.016268968582 seconds
       HTTP Args
       timeout	(integer) 15
       redirection	(integer) 5
       httpversion	(string) 1.0
       user-agent	(string) WordPress/3.7; http://blogname.xxx
       reject_unsafe_urls	(boolean) false
       blocking	(boolean) true
       headers
       Array
       (
       )
       cookies
       Array
       (
       )
       compress	(boolean) false
       decompress	(boolean) true
       sslverify	(boolean) true
       sslcertificates	(string) /eee/eee/eee/wp-includes/certificates/ca-bundle.crt
       stream	(boolean) false
       filename	NULL
       limit_response_size	NULL
       HTTP POST body
       Array
       (
           [action] => hot_tags
           [request] => O:8:"stdClass":1:{s:8:"per_page";i:24;}
       )
       HTTP Transports	WP_HTTP_curl
       Request Time	2013-11-28 08:20:57 +100
       ```
   
 *  Thread Starter [vitoc82](https://wordpress.org/support/users/vitoc82/)
 * (@vitoc82)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/#post-4358350)
 *     ```
       Manage Transports
   
       Transport	Status	Actions
       cURL	Available	Disable Transport | Test Transport
       PHP Streams	Available	Disable Transport | Test Transport
       PHP fsockopen()	Available	Disable Transport | Test Transport
       ```
   
 *     ```
       Filter	Default Value	Current Value
       http_request_timeout	5	5
       http_request_redirection_count	5	5
       http_request_version	'1.0'	'1.0'
       http_headers_useragent	'WordPress/3.7; http://blogname.xxx'	'WordPress/3.7; http://blogname.xxx'
       block_local_requests	false	false
       use_fsockopen_transport	true	true
       use_streams_transport	true	true
       use_curl_transport	true	true
       https_local_ssl_verify	true	true
       https_ssl_verify	true	true
       ```
   

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/problem-installing-plguinsthemes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-installing-plguinsthemes/page/2/?output_format=md)

The topic ‘Problem installing plguins/themes’ is closed to new replies.

## Tags

 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 21 replies
 * 4 participants
 * Last reply from: [erikstainsby](https://wordpress.org/support/users/erikstainsby/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/problem-installing-plguinsthemes/page/2/#post-4358406)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
