rackspace - Exception claiming messages from Cloud Queues in fog -


i've been running process consumes messages off of rackspace cloud queue time now. while ago, started seeing exception in logs @ line creating claim:

undefined method `split' nil:nilclass /home/ash/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/fog-1.19.0/lib/fog/rackspace/models/queues/claim.rb:112:in `create' /home/ash/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/fog-1.19.0/lib/fog/rackspace/models/queues/claim.rb:46:in `save' /home/ash/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/fog-1.19.0/lib/fog/rackspace/models/queues/claims.rb:36:in `create' 

what's changed? fog problem, or there wrong cloud queues?

it turns out that, after server upgrade, cloud queues started use lowercase http headers in of responses. specifically, location location , content-type changed content-type. http specifies http headers case-insensitive, of 1.19.0, fog's header access not.

this fixed in master, can depend on latest code adding gemfile:

gem 'fog', github: 'fog/fog' 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -