• Hi Everyone,
    I have a problem and hope anyone can help.

    We have a VPS and installed cyberpanel + openlitespeed
    there is a WordPress website on it, everything is fine BUT we have 1 problem:

    WordPress can’t make secure connection to ww.wp.xz.cn

    I investigated forums and tutorials to solve this issue and tried these:

    
    1- openSSL version is latest 
    2- TLS 1.3 is avilable
    3- added **198.143.164.252 ww.wp.xz.cn** to hosts file using SSH
    4- asked server owner to check firewall port and they say 443 is open.
    5- curl is installed and added in php.ini
    

    The weird part is, in SSH when I try curl or telnet to ww.wp.xz.cn on port 443, it connects!
    but in wp-admin I get Errors and this error cause wp admin be so slow (wait till timeout)

    I guess wordpress uses fsocketopen and in this file you can see connection to wordpress is not working:

    http://aydinlatmasepeti.com.tr/checkport.php

    The error is

    **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](https://ww.wp.xz.cn/support/forums/). (WordPress could not establish a secure connection to ww.wp.xz.cn. Please contact your server administrator.) in **/home/aydinlatmasepeti.com.tr/public_html/wp-includes/update.php** on line **209**

    anything will be helpful.
    thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator threadi

    (@threadi)

    There are usually always differences between running PHP at the console and via http. Often other/additional modules are used via http. My guess would be that you have mod_security enabled in the web server service and it is blocking this connection. It is not directly a firewall, but a security tool.

    Wordpress uses primarily curl, secondarily fsockopen. See: https://github.com/WordPress/WordPress/blob/master/wp-includes/class-requests.php#L195

    Thread Starter amindiary

    (@amindiary)

    @threadi Thank you for reply.
    I’ve posted on cyberpanel community too, since I’ve installed it as cpanel alternative.

    the weird part is, why connection works to any ip, but not works for ww.wp.xz.cn

    will search about uninstalling mod_security

    Moderator threadi

    (@threadi)

    One can only speculate about that. Possibly the responsible module keeps a block IP list. However, since we are here in the general WordPress support forum and not at the server support, it is difficult to evaluate this.

    Thread Starter amindiary

    (@amindiary)

    Thank you I will try investigate more, and if found anything will post here

    Thread Starter amindiary

    (@amindiary)

    I’ve installed cyberpanel on another VPS (not same server as this)
    and openssl connection works fine, so recommended client to change server, it’s server issue not cyberpanel and not WordPress.

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

The topic ‘Secure connection error to ww.wp.xz.cn only’ is closed to new replies.