SQS input throws an exception: uninitialized constant Digest::SHA256

Description

Starting logstash throws an uninitialized constant Digest::SHA256 exception when you have sqs defined as an input.

Config:
input {
sqs {
access_key_id => "zzzzz"
secret_access_key => "xxxxx"
region => "us-west-2"
queue => "ops_logstash_dev"
debug => true
}
}

output {
elasticsearch {
host => "127.0.0.1"
cluster => "ops_logstash_dev"
}
}

Output:
Using milestone 1 input plugin 'sqs'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin. For more information on plugin milestones, see http://logstash.net/docs/1.2.2/plugin-milestones {:level=>:warn}
Using milestone 1 codec plugin 'json'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin. For more information on plugin milestones, see http://logstash.net/docs/1.2.2/plugin-milestones {:level=>:warn}
Registering SQS input {:queue=>"ops_logstash_dev", :level=>:info}
Unable to access SQS queue. {:error=>"uninitialized constant Digest::SHA256", :queue=>"ops_logstash_dev", :level=>:error}
---------------------------------------------------------

An unexpected error occurred. This is probably a bug.

You can find help with this problem in a few places:

 

  • chat: #logstash IRC channel on freenode irc.

IRC via the web: http://goo.gl/TI4Ro

  • email: logstash-users@googlegroups.com

 

---------------------------------------------------------
The error reported is:
uncaught throw uninitialized constant Digest::SHA256 in thread 0x7e0

Environment

None

Status

Assignee

Logstash Developers

Reporter

Lance O'Connor

Labels

None

Fix versions

Affects versions

Priority

Configure