{"id":9556822,"date":"2017-10-04T19:44:19","date_gmt":"2017-10-04T19:44:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cannot-post-ssl-bug-in-file_get_contents\/"},"modified":"2017-10-04T19:44:19","modified_gmt":"2017-10-04T19:44:19","slug":"cannot-post-ssl-bug-in-file_get_contents","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cannot-post-ssl-bug-in-file_get_contents\/","title":{"rendered":"Cannot POST SSL Bug in file_get_contents"},"content":{"rendered":"<p>The main error seems to be that file_get_contents cannot properly use SSL<\/p>\n<p>file_get_contents(): Failed to enable crypto in \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php on line 119<\/p>\n<p>[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP Warning:  file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:\\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php on line 119<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP Stack trace:<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   1. {main}() \/www\/vhosts\/domain.com\/httpdocs\/wp-cron.php:0<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   2. do_action_ref_array() \/www\/vhosts\/domain.com\/httpdocs\/wp-cron.php:117<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   3. call_user_func_array:{\/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601}() \/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   4. Woo_IGP-&gt;wigp_ig_post() \/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   5. InstagramAPI\\\\Instagram-&gt;uploadPhoto() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/classes\/class-woo-igp.php:384<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   6. InstagramAPI\\\\HttpInterface-&gt;uploadPhoto() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/Instagram.php:476<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   7. file_get_contents() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php:119<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP Warning:  file_get_contents(): Failed to enable crypto in \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php on line 119<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP Stack trace:<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   1. {main}() \/www\/vhosts\/domain.com\/httpdocs\/wp-cron.php:0<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   2. do_action_ref_array() \/www\/vhosts\/domain.com\/httpdocs\/wp-cron.php:117<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   3. call_user_func_array:{\/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601}() \/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   4. Woo_IGP-&gt;wigp_ig_post() \/www\/vhosts\/domain.com\/httpdocs\/wp-includes\/plugin.php:601<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   5. InstagramAPI\\\\Instagram-&gt;uploadPhoto() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/classes\/class-woo-igp.php:384<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   6. InstagramAPI\\\\HttpInterface-&gt;uploadPhoto() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/Instagram.php:476<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP   7. file_get_contents() \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php:119<br \/>\n[Wed Oct 04 14:42:38 2017] [error] [client 192.168.5.8] PHP Warning:  file_get_contents(https:\/\/domain.com\/wp-content\/uploads\/2017\/10\/Redhat-Linux-Dot-NEt.jpg): failed to open stream: operation failed in \/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/wp-instagram-post\/vendor\/mgp25\/instagram-php\/src\/http\/HttpInterface.php on line 119<\/p>\n","protected":false},"template":"","class_list":["post-9556822","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9556822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9556822\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9556822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}