My site is apparently having trouble reading Aaron’s site. I’m getting a timeout error with fsockopen(). At first I thought it was an issue reading https sites, but I don't have the problem connecting to Marty’s site or https://pin13.net. The latter is the same IP as Aaron’s site. I've bumped the timeout to 60s but I'm still getting the same result. Any suggestions?
Updated 4/17, 11:35AM:
Aaron removed the IPv6 DNS record because he doesn't have a web server listening at that address. Sounds like fsockopen() was behaving correctly, then. I'm able to connect and send webmentions to him again.
Updated April 13, 5:27PM:
I'm thinking it has to do with IPv6 on Aaron’s domain. Perhaps fsockopen is using the first IP it discovers, despite there not being a web server listening on IPv6. I can use socket_create() to open a connection to the IPv4 address.
Debug info:
PHP version: 5.6.29 allow_url_fopen set to: 1 Code: $fp = fsockopen($domain, $port, $error_number, $error_string, 30); fsockopen pin13.net port 443. fsockopen successful fsockopen martymcgui.re port 443. fsockopen successful fsockopen aaronparecki.com port 443. Error: Connection timed out (110)