• Resolved catherineccn

    (@catherineccn)


    Good Day,

    I got this error when trying to access the plugins page in my wp-admin dashboard:

    Warning: An unexpected error occurred. Something may be wrong with ww.wp.xz.cn or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to ww.wp.xz.cn. Please contact your server administrator.) in C:\inetpub\wwwroot\ccnintranetwp\wp-includes\update.php on line 447

    I checked in that file on that line, and here’s the code in that area:

    $url = 'http://api.ww.wp.xz.cn/plugins/update-check/1.1/';
    $http_url = $url;
    $ssl = wp_http_supports( array( 'ssl' ) );
    
    if ( $ssl ) {
        $url = set_url_scheme( $url, 'https' );
    }
    
    $raw_response = wp_remote_post( $url, $options );
    
    if ( $ssl && is_wp_error( $raw_response ) ) {
        trigger_error(
            sprintf(
                /* translators: %s: Support forums URL. */
                __( 'An unexpected error occurred. Something may be wrong with ww.wp.xz.cn or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
                __( 'https://ww.wp.xz.cn/support/forums/' )
            ) . ' ' . __( '(WordPress could not establish a secure connection to ww.wp.xz.cn. Please contact your server administrator.)' ),
            headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE
        );
        $raw_response = wp_remote_post( $http_url, $options );
    }
    
    if ( is_wp_error( $raw_response ) || 200 !== wp_remote_retrieve_response_code( $raw_response ) ) {
        return;
    }

    Any help on how to resolve this is appreciated!

    • This topic was modified 2 years, 2 months ago by catherineccn. Reason: Forgot to add more tags
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    This typically means WordPress trying to connect to the update server in the background, but couldn’t.

    This could be due to a simple internet connection issue, or may be the server is temporarily offline, etc. This sort of connectivity issue usually resolves itself after a while.

    If not, try contacting your internet/hosting provider.

    Also, review this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-fix-secure-connection-error-in-wordpress/

    Thread Starter catherineccn

    (@catherineccn)

    Good Day t-p,

    Thanks, I checked out the article you linked, however it ended up being an issue with our firewalls/access to ww.wp.xz.cn, since it was a locally hosted site on a company server with special access rules for security reasons.

    Just leaving a note in case anyone else is in a similar situation.

    Regardless, thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error When Accessing Plugins Page’ is closed to new replies.