Created
April 25, 2012 12:50
-
-
Save tobowers/2489522 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s = Fog::Storage::AWS.new({ | |
jruby-1.6.7 :006 > :aws_access_key_id => S3_CREDS[:access_key], | |
jruby-1.6.7 :007 > :aws_secret_access_key => S3_CREDS[:secret_access_key], | |
jruby-1.6.7 :008 > :persistent => false | |
jruby-1.6.7 :009?> }) | |
=> #<Fog::Storage::AWS::Real:... [redacted] > | |
jruby-1.6.7 :010 > s.directories.get('amicus-users') | |
Excon::Errors::SocketError: write would raise | |
from org/jruby/ext/openssl/SSLSocket.java:607:in `syswrite_nonblock' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.7.6.1/lib/1.9/openssl/buffering.rb:374:in `write_nonblock' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/excon-0.13.4/lib/excon/socket.rb:113:in `write' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/excon-0.13.4/lib/excon/connection.rb:219:in `request_kernel' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/excon-0.13.4/lib/excon/connection.rb:97:in `request' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/fog-1.3.1/lib/fog/core/connection.rb:20:in `request' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/fog-1.3.1/lib/fog/aws/storage.rb:359:in `request' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/fog-1.3.1/lib/fog/aws/requests/storage/get_bucket.rb:50:in `get_bucket' | |
from /Users/topper/.rvm/gems/jruby-1.6.7@brief/gems/fog-1.3.1/lib/fog/aws/models/storage/directories.rb:24:in `get' | |
from (irb):10:in `evaluate' | |
from org/jruby/RubyKernel.java:1088:in `eval' | |
from org/jruby/RubyKernel.java:1410:in `loop' | |
from org/jruby/RubyKernel.java:1197:in `catch' | |
from org/jruby/RubyKernel.java:1197:in `catch' | |
from /Users/topper/.rvm/rubies/jruby-1.6.7/bin/irb:17:in `(root)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
excon/excon#106