22 May 2012
Today, I got stuck because I couldn't connect to the Paypal's sandbox.
I was using Ruby's standard https library.
I could connect to
`, but NOT
The error looks like this:
`Connection reset by peer - SSL_connect`
I had no friggin' idea why.
On other computers, e.g. my laptop and EC2 instance, I can connect to
`https://svcs.sandbox.paypal.com` without any problem.
Whether or not I enforced the SSL certificate verification, the problem persisted.
I've googled a little bit. I believe, it's a bug of
Ruby's standard https library utilizes
So, I've switched to
gem, and it works like a charm.
(``httpclient``` writes its own SSL-certificate verification process.)