[wp-trac] [WordPress Trac] #38291: gethostbyname() at wp-includes/http.php don´t work if host is ipv6 configured (was: Can´t upgrade nor install plugins, wordpress or translations)
WordPress Trac
noreply at wordpress.org
Thu Oct 13 16:25:00 UTC 2016
#38291: gethostbyname() at wp-includes/http.php don´t work if host is ipv6
configured
--------------------------+------------------------------
Reporter: lofesa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by lofesa):
* component: Upgrade/Install => General
Comment:
Hi again
I solved the issue. The fail thing was that gethostbyname($host) at line
543 on file wp-includes/http.php don´t convert names in ip address and get
the ip 0.0.0.0 in a mixed ipv4-ipv6 configured host and resolving same
host names to ipv4 and ipv6.
I leave off all the ipv6 config in host and dns and leave the host in only
ipv4, then updates and install they worked.
Change the ticket to reflect that and leave it open to devs review.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38291#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list