This repository has been archived by the owner on May 9, 2024. It is now read-only.
cURL and wp_remote_get() for graph.instagram.com: Segmentation error #271
Labels
bug
Something isn't working
Describe the bug
calling
wp_remote_get( 'https://graph.instagram.com/' )
ends in a blank page (no HTML in source)Steps to Reproduce
2.run
curl --location --request GET 'https://graph.instagram.com/'
Segmentation fault
messageExpected behavior
cURL should return the body from that URL (https://graph.instagram.com/):
"Sorry, this content isn't available right now"
Screenshots
Environment information
Device: MacBook Pro M1
OS: macOS 12.1 (21C52)
WordPress version: 5.8.1 / 5.8.2
Additional context
![image](https://user-images.githubusercontent.com/4009928/147275179-5dd3b9bd-0529-4cde-a270-539f810c6216.png)
Found the following:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989604
docker/for-mac#5846
Adding --tls-max 1.2 worked for me on the command line inside the php-fpm container
See:
The text was updated successfully, but these errors were encountered: