• Hello,

    using wordpress I need to setup a proxy for internet query.

    In wp-config.php I jave this config :

    define('WP_PROXY_HOST', 'proxy.recette.local');
    define('WP_PROXY_PORT', '8080');

    But when I go to Home => Update I got an error :

    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 support forums.
    WordPress could not establish a secure connection to ww.wp.xz.cn. Please contact your server administrator.

    Any idea on what is wrong ? could this be a bug ?

    • This topic was modified 8 years, 7 months ago by Steven Stern (sterndata). Reason: moved from 'networking' to 'fixing'
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    1. Does your proxy host require a login?
    2. What happens if you replace the name of the server with it’s IP address?

    https://developer.ww.wp.xz.cn/reference/classes/wp_http_proxy/

    Please install the health check plugin and report back its findings: https://ww.wp.xz.cn/plugins/health-check/

    Thread Starter romgo

    (@romgo)

    Hello,

    – no login required for my proxy,
    – Same issue with the IP address

    I just checked the proxy logs. Some trafic is send to the proxy without issues. Seems that the error is only triggered when I go on this URL :
    wp-admin/update-core.php

    I’ll check your pluggin.

    Thread Starter romgo

    (@romgo)

    Ok,

    just run the health check here is the warning/error reports :

    PHP Version 5.6.30-0+deb8u1 – For performance and security reasons, we strongly recommend running PHP version 7.0 or higher.

    Communication with ww.wp.xz.cn Unable to reach ww.wp.xz.cn at 66.155.40.249:

    Thread Starter romgo

    (@romgo)

    Hello,

    in fact with proxy settings I can’t upgrade my wordpress instance.
    FYI I have exactly the same issue with wordpress 4.8.3

    Thread Starter romgo

    (@romgo)

    Ok first thing I solved, the update process needs this packet :
    php5-curl

    But still getting some drops packet in my firewall, so some stuff ignore proxy settings.

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

The topic ‘WP_PROXY_HOST ignored’ is closed to new replies.