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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -