MetDark
MetDark

Reputation: 83

"Failed to connect to api.twilio.com port 443: Connection refused" error

I've disabled SSL Certificate Validation under General Settings because my WordPress site is using http. But I am still still getting "Failed to connect to api.twilio.com port 443: Connection refused" on live and test credentials." I've also purge caches on the browser. I am using the guide from https://www.twilio.com/blog/2017/08/send-sms-wordpress-php-plugin.html. Does the setting takes time to remove the SSL certification validation or what else could go wrong?

Upvotes: 1

Views: 8436

Answers (1)

MetDark
MetDark

Reputation: 83

Answered by Twilio support "All connections to the Twilio API endpoints must use HTTPS and so if you have no SSL Cert for your Wordpress website it will refuse the request. You will need to get an SSL Certificate for your website in order to call the API endpoints from your Wordpress site/domain. Disabling SSL Certificate Validation setting on Twilio dashboard is for calls from Twilio to your servers, not the other way around."

Upvotes: 4

Related Questions