Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Reply To: Error: WordPress could not establish a secure connection to WordPress.org

Discussion in 'Misc WordPress Requests' started by peterbb, Oct 12, 2017.

  1. peterbb

    Guest

    Reply To: Error: WordPress could not establish a secure connection to WordPress.org, by peterbb

    I have managed to narrow the problem down to the combination of cURL and ipv6. From # curl -6 google.com ,which prints curl: (7) Couldn't connect to server, and # ping6 -c 1 google.com, which print

    PING google.com (2a00:1450:400e:803::200e): 56 data bytes
    ping6: sendmsg: No route to host

    we can see that ipv6 is not working on the machine. I wonder if this is related to
    Ramnode — OpenBSD IPv6 Issue (my OpenBSD server is running on a Ramnode KVM).

    I tried to configure curl to use IPv4, by adding curl_setopt($this->handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); in wp-includes/Requests/Transport/cURL.php after the handle is created in the constructor, but this had no effect. Both CURLOPT_IPRESOLVE and CURL_IPRESOLVE_V4 are defined, so I would have thought it would work.

    Reply To: Error: WordPress could not establish a secure connection to WordPress.org
     
    #1

Share This Page

Web Hosting