async-http icon indicating copy to clipboard operation
async-http copied to clipboard

Cloudflare gem stop working with v0.60.1

Open luk4s opened this issue 2 years ago • 2 comments

https://github.com/socketry/cloudflare

3.1.2 :002 > ::Cloudflare.connect(token: token) { |connection| puts zone = connection.zones.find_by_name("easyproject.cz") }
 0.12s     warn: Async::Task [oid=0x2c434] [ec=0x2c448] [pid=17591] [2023-02-03 11:03:06 +0100]
               | Task may have ended with unhandled exception.
               |   Cloudflare::RequestError: #<Async::REST::Resource /client/zones?page=1&per_page=50&name=easyproject.cz>: No route for that URI
               |   → /Users/lukas/.rvm/gems/ruby-3.1.2/gems/cloudflare-4.3.0/lib/cloudflare/representation.rb:85 in `process_response'

luk4s avatar Feb 03 '23 10:02 luk4s

Hmm, odd, thanks for the report, I'll take a look.

ioquatix avatar Feb 03 '23 11:02 ioquatix

This should be fixed with the latest update to protocol-http. Can you please test it and report back?

ioquatix avatar Feb 13 '23 23:02 ioquatix