My stripe payments integration cannot connect to their api

Each time i try to process a transaction using stripe, i receive this error message:
"There was an error processing your card: "Could not connect to Stripe ( Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at, or let us know at (Network error: couldn't connect to host)". Please go back and try again."

I have SSL installed and working properly on the site. My api keys and other info are the test ones from stripe (though I've tried the production ones as well with the same result.)