• Hi all,

    For the last few weeks, I get some warning in the error_log regarding update.php.
    “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.))”
    It concerns the lines 211, 449 and 730.

    It seems that $ssl and $raw_response, $ssl and $response all return true.

    I saw that other people had this message, but about local installations, this website is live. What could this be about?

    • This topic was modified 1 year, 3 months ago by lockoloop.
    • This topic was modified 1 year, 3 months ago by lockoloop.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is often caused by security modules in the hosting. They prevent a connection from your WordPress installation “outside” to www.ads-software.com to check the update status of WordPress, plugins and themes. It is best to contact the support of your hoster.

    I also have this problem. The strange thing is that it only happens on my server for a specific website. I have numerous self-hosted WordPress websites, and they are all fine.

    I also tried dropping back to a default theme. didn’t help.

    I have few plugins enabled. I wouldn’t expect them to cause any issues.

    Is there a way to log all the curl/requests happening? Whats the best way to debug this issue?

    (I am a reasonable newbiee, I code a bit, but never wordpress/php. Only enough to hack a plugin I use on my website.)

    Ok, digging into this, I found out why my server was getting random TIMEOUT when talking to the WordPress API, or any API for that matter.

    My DNS server, for reasons I do not know, decided to stop answering DNS lookups, and so every time a request from php was occurring, it went through a timeout trying to lookup the target host, before falling back to the secondary. (Default is 3 seconds in WordPress)

    This aded enough for to make MOST requests time out.

    Be warned. Check your DNS lookups if you have random timeouts hitting APIs. It may also indicate a longer timeout, over 3 seconds should be in use.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning in update.php’ is closed to new replies.