svix-webhooks: (Ruby) Svix::ApiError Error in the HTTP2 framing layer
Bug Report
Version
0.85.1 (Ruby)
Platform
Debian 5.10.136-1~deb10u3 (2022-09-06)(5.10.0-0.deb10.17-amd64)
Description
After updating Svix to 0.85.1 from 0.82.1 we sometimes see an error being reported when Edit: the error seems more about concurrent usage or increased traffic on the server rather than a specific Svix version.SVIX_CLIENT.message.create is called.
Svix::ApiError
Error in the HTTP2 framing layer
HTTP status code: 0
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (20 by maintainers)
I believe we already have retries in the library, though maybe only on 5xx and not on general networking issues? This is the code that does it: https://github.com/svix/svix-webhooks/blob/main/ruby/templates/api_client_typhoeus_partial.mustache#L12
I’d love it if you could contribute a fix for it!
Let me reopen this then.
Some people do a client per request, some a long-lived, it varies. I don’t know how many do either in Ruby. Are you able to reproduce it with reusing a client but not when creating one per request?
With pleasure. Let me know if there’s anything we can do to help!
Thanks! Let me know and we’ll start investigating. The reason why we need this verification is that it only happens sometimes which means it’ll be hard to reproduce.
Btw, please only downgrade Svix (and whatever dependencies it’ll autodowngrade), so that we can make sure it’s just the Svix version change that caused it.