{"action":"created","issue":{"url":"https://api.github.com/repos/excon/excon/issues/467","labels_url":"https://api.github.com/repos/excon/excon/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/excon/excon/issues/467/comments","events_url":"https://api.github.com/repos/excon/excon/issues/467/events","html_url":"https://github.com/excon/excon/issues/467","id":55838137,"number":467,"title":"Bad address error with openssl 1.0.2","user":{"login":"matkam","id":578302,"avatar_url":"https://avatars.githubusercontent.com/u/578302?v=3","gravatar_id":"","url":"https://api.github.com/users/matkam","html_url":"https://github.com/matkam","followers_url":"https://api.github.com/users/matkam/followers","following_url":"https://api.github.com/users/matkam/following{/other_user}","gists_url":"https://api.github.com/users/matkam/gists{/gist_id}","starred_url":"https://api.github.com/users/matkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkam/subscriptions","organizations_url":"https://api.github.com/users/matkam/orgs","repos_url":"https://api.github.com/users/matkam/repos","events_url":"https://api.github.com/users/matkam/events{/privacy}","received_events_url":"https://api.github.com/users/matkam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-29T00:30:11Z","updated_at":"2015-02-01T18:47:14Z","closed_at":null,"body":"I'm not sure if this is a bug with Ruby OpenSSL, excon, or possibly even Fog. Running Mac OS X with Ruby 2.2.0 or 2.1.3 installed via ruby-build and openssl 1.0.2 installed via Homebrew. I get the following error when uploading file more than ~1MB (maybe even less) to AWS S3:\r\n```\r\n/Users/matt/.rbenv/versions/2.2.0/lib/ruby/2.2.0/openssl/buffering.rb:383:in `syswrite_nonblock': Bad address (Errno::EFAULT) (Excon::Errors::SocketError)\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/2.2.0/openssl/buffering.rb:383:in `write_nonblock'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/socket.rb:109:in `write'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:151:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/mock.rb:47:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:15:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:15:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:15:in `request_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:232:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:255:in `rescue in request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:203:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:255:in `rescue in request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:203:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/middlewares/base.rb:10:in `error_call'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:255:in `rescue in request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.43.0/lib/excon/connection.rb:203:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-core-1.27.4/lib/fog/core/connection.rb:63:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-xml-0.1.1/lib/fog/xml/connection.rb:9:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-aws-0.0.8/lib/fog/aws/storage.rb:586:in `_request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-aws-0.0.8/lib/fog/aws/storage.rb:581:in `request'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-aws-0.0.8/lib/fog/aws/requests/storage/put_object.rb:43:in `put_object'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-aws-0.0.8/lib/fog/aws/models/storage/file.rb:208:in `save'\r\n\tfrom /Users/matt/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-core-1.27.4/lib/fog/core/collection.rb:51:in `create'\r\n```\r\n\r\nThis issue is not present running openssl 1.0.1l installed via Homebrew, and I've downgraded as a workaround."},"comment":{"url":"https://api.github.com/repos/excon/excon/issues/comments/72377678","html_url":"https://github.com/excon/excon/issues/467#issuecomment-72377678","issue_url":"https://api.github.com/repos/excon/excon/issues/467","id":72377678,"user":{"login":"simonc","id":119303,"avatar_url":"https://avatars.githubusercontent.com/u/119303?v=3","gravatar_id":"","url":"https://api.github.com/users/simonc","html_url":"https://github.com/simonc","followers_url":"https://api.github.com/users/simonc/followers","following_url":"https://api.github.com/users/simonc/following{/other_user}","gists_url":"https://api.github.com/users/simonc/gists{/gist_id}","starred_url":"https://api.github.com/users/simonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonc/subscriptions","organizations_url":"https://api.github.com/users/simonc/orgs","repos_url":"https://api.github.com/users/simonc/repos","events_url":"https://api.github.com/users/simonc/events{/privacy}","received_events_url":"https://api.github.com/users/simonc/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T18:47:14Z","updated_at":"2015-02-01T18:47:14Z","body":"Having the same error for any file larger than 190463 bytes :/"}}