OpenSSL :: SSL :: SSLErrorWaitReadable read will block

You are currently seeing this error on our background workers on Heroku when making text / plain requests to the Intuit API v3. https://quickbooks.api.intuit.com/v3/company/123456789/query/

Ruby 2.1.2 and Rails 4.0.10

OAuth 0.4.5 https://github.com/oauth-xx/oauth-ruby

There is an error_message "Intuit API" error. They may be over capacity. Please try again later. "I'm not sure if this is just an intermittent error that we should ignore, or if this is a problem on the Intuit side or with Ruby / OpenSSL on Heroku?

This error doesn't happen a lot, but we have one client reporting that it cannot sync for a week.

+3


source to share


1 answer


Heroku timeouts are 30 seconds. Intuit api may take longer. I suggest you try a local machine or try testing with AWS if you are familiar or with another cloud provider. Another thing you could do is check running the api at the command line from the heroku console.



0


source







All Articles