Wordpress and Discourse on https. Installing php5-curl resolved the issue for me, thank you!
php5-curl