• 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)
  • You seem to have a server issue. Have you spoken to your hosts about it?

    Thread Starter vitoc82

    (@vitoc82)

    Hrm,

    I am hosting the blogs myself. So yes? πŸ™‚

    Problems of this kind are sometimes caused by a failure to compile PHP with cUrl. Have you looked into that?

    Thread Starter vitoc82

    (@vitoc82)

    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.

    What’s the PHP max-execution time set to?

    Thread Starter vitoc82

    (@vitoc82)

    max_execution_time 30

    Try increasing it to 60 and see what happens.

    Thread Starter vitoc82

    (@vitoc82)

    No change.

    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 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.

    Thanks, Clayton.

    @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. πŸ™‚

    You’re welcome.. I gave it my best guess! πŸ™‚

    Thread Starter vitoc82

    (@vitoc82)

    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

    (@vitoc82)

    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

    (@vitoc82)

    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)
  • The topic ‘Problem installing plguins/themes’ is closed to new replies.