• dnk6742

    (@dnk6742)


    I believe the problem is already a classics, yet I found no acceptable solution.

    The description of the problem:

    Warning: An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.ads-software.com. Please contact your server administrator.) in /www/vhosts/…/…org/wp-includes/update.php on line 295

    Warning: An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.ads-software.com. Please contact your server administrator.) in /www/vhosts/…/…org/wp-includes/update.php on line 457

    Besides that, there is an error (I beieve of the same nature) in /www/vhosts/…/…org/wp-admin/includes/translation-install.php on line 59

    I tried version 4.0 update.php, I checked the cURL settings (ony two 302 and 301 errors), the WordPress and Site URLs in General Settings are the same, the time is set correctly.

    The hosting provider, obviously, is trying to solve the problem, yet they can’t figure out the real source of it. I believe that HTTPS outbound connection is somehow blocked, but it won’t be fixed unless I point these guys towards what should be done.

    Diagnostics:
    https://novorossinfo.org/1.php – cURL test
    https://novorossinfo.org/phpinfo.php – phpinfo()
    https://novorossinfo.org/wp.php – connect to httpS://www.ads-software.com

    For the same reason Akismet is not working, themes are not displayed on download screen and neither are plugins.

    Thanks for help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Matt Knowles

    (@aestheticdesign)

    I know in the cases where I had this problem with sites hosted by HostGator, they needed to make exceptions in Apache’s mod_security. I sorry I don’t know the specifics of what changes they needed to make, but they were able to look at log files after I got the error and figure out what needed to be opened.

    Thread Starter dnk6742

    (@dnk6742)

    Thanks Matt,
    obviously my hosters are more lazy than yours. I hope someone can at least highliht me the direction to the solution.

    bernbe01

    (@bernbe01)

    i don’t know if it’ll tell you anything new, but it may be worth trying this tool?

    background updates tester

    we’ve seen a few times where this couldn’t catch the issue lately, but usually it does

    Thread Starter dnk6742

    (@dnk6742)

    And my situation is one of these…

    This site is able to apply these updates automatically. Cool!

    The point is, that it really does… The problem takes place with plugins and themes only.

    bernbe01

    (@bernbe01)

    cool, well no easy answer there ??

    have you already tried turning on WP_DEBUG?

    the codex on wordpress debugging has some tips on this. again it may not provide anything new, but i’d be surprised if you didn’t get something by turning WP_DEBUG to true and maybe even setting php to output all warnings

    if interested int he php debug output, you can add these lines to the top of your .htaccess file: (assuming the host allows override of these from their php.ini)

    php_flag display_errors on
    php_value error_reporting -1
    Thread Starter dnk6742

    (@dnk6742)

    Thanks, bernbe01. I added the lines, no change so far.

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    define(‘SCRIPT_DEBUG’, true);

    and still only the same error messages, no new information.

    bernbe01

    (@bernbe01)

    darn!

    want to try an manual reinstall?

    0. take a backup of your existing system (files & database – let me know if you need help)

    1. download the your version of wordpress from the release archive (it’s recommended to go to current 4.1.1 unless you have reason not to)

    2. unzip it locally on your computer

    3. connect to your server using an ftp client, selecting option to see hidden files if available

    4. delete from your server everything in wordpress’s install folder except wp-config.php and wp-content/

    5. upload from the newly unzipped wordpress files all files and folders except wp-content/ (there will not be a wp-config.php in the newly unzip wordpress)

    Thread Starter dnk6742

    (@dnk6742)

    bernbe01, I really appreciate your help ?? Thanks! Sorry for the delay.

    The point is that the copy ow WP I am running was installed in the way U described. More than, I reinstalled it couple of times in the same way.

    Another seed of craziness is that there is a second site running the same WP on the same vhost – and it doesn’t have the problem.

    And yes, I have already copied the engine files of one site to another, changing the .cfg – with no success, as U can see.

    I suggest that we focus on the diagnostics of what goes wrong with the connection. That’s what I’ve got as a dump of raw_response of line 457:

    URL:string(50) "https://api.www.ads-software.com/themes/update-check/1.1/"
    RAW_RESPONSE:object(WP_Error)#4259 (2) { ["errors":"WP_Error":private]=> array(1) { ["http_request_failed"]=> array(1) { [0]=> string(65) "Operation timed out after 3000 milliseconds with 0 bytes received" } } ["error_data":"WP_Error":private]=> array(0) { } }

    Meanwhile https://novorossinfo.org/wp.php

    $url = 'https://api.www.ads-software.com/themes/update-check/1.1/';
    print_r(get_headers($url));

    opens the same URL with the following result:

    Array ( [0] => HTTP/1.1 200 OK [1] => Server: nginx [2] => Date: Sat, 28 Feb 2015 07:20:48 GMT [3] => Content-Type: text/plain; charset=utf-8 [4] => Connection: close [5] => X-Frame-Options: SAMEORIGIN )

    I can’t really figure out why this time-out occurs in the first case if in the 2nd it runs fine.

    Thanks again.

    Try this out, scan your website, I was able to see that my apache server was out of date https://sitecheck.sucuri.net

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error on lines 295 and 457’ is closed to new replies.