Open AlanMcCann opened 4 years ago
Did you manage to figure this out?
I just tried it out from a minimal rails install at https://github.com/tansengming/stripe-rails-dummy/tree/8da724014c48633f6ba48ca96fb0421728718eba and could not reproduce it.
As far as I know the app does not mess with the http client so I don't think the gem is causing this. I'd look into https://github.com/stripe/stripe-ruby/blob/0620436d63a40af8bdc93057c1cdb4e58bf1a30a/lib/stripe/stripe_client.rb to see how the stripe gem is handling closed streams.
Good luck!
Versions stripe-rails: 1.10.1 stripe: 5.22.0 ruby 2.6.3
After starting the rails app, I can issue successful requests one after another. If I pause for a minute and then try again, I get a message as follows
This happens with any method
This doesn't happen with the plain stripe gem.
I have tried creating a new client for each request and that has the same issue
Any thoughts? Thanks!