Failed request to API due to OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: tlsv1 alert internal error
If you see below OpenSSL error when
knapsack_pro gem does request to Knapsack Pro API:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: tlsv1 alert internal error
then the reason might be that you did not configure properly
FakeWeb.allow_net_connect = %r[^https?://api\.knapsackpro\.com]
You can grep your repository to find if one of your tests does change
FakeWeb config during test runtime and update it to allow for requests to Knapsack Pro API.
If you use VCR or WebMock gem you may also grep for it. Full configuration for VCR, WebMock and FakeWeb can be found in the installation guide.