Giter Club home page Giter Club logo

kraken-ruby's People

Contributors

harrisgani avatar hookblaze avatar joshfrench avatar karim79 avatar matylla avatar robovirtuoso avatar stephenprater avatar unixmonkey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kraken-ruby's Issues

Net::ReadTimeout Exception while trying to upload through the URL method

Hi,

I am uploading the images through the URL method provided by Kraken Ruby Gem. However, at times I get this exception and the upload operation fails.

C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:158:in rescue in rbuf_fill': Net::ReadTimeout (Net::ReadTimeout) from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:152:inrbuf_fill'
from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:144:inreadline'
from C:/Ruby21/lib/ruby/2.1.0/net/http/response.rb:39:in read_status_line' from C:/Ruby21/lib/ruby/2.1.0/net/http/response.rb:28:inread_new'
from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1408:in block in transport_request' from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1405:incatch'
from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1405:in transport_request' from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1378:inrequest'
from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1371:in block in request' from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:853:instart'
from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1369:in request' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/httparty-0.13.7/lib/httparty/request.rb:117:inperform'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/httparty-0.13.7/lib/httparty.rb:545:in perform_request' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/httparty-0.13.7/lib/httparty.rb:492:inpost'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/kraken-io-0.1.3/lib/kraken-io.rb:39:in block in url' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/kraken-io-0.1.3/lib/kraken-io.rb:67:incall_kraken'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/kraken-io-0.1.3/lib/kraken-io.rb:38:in `url'

Support pre-signed URL for External Storage

When I use S3 external storage, I must pass AWS_ACCESS_KEY and AWS_SECRET_KEY in params, and send to Kraken API.

But how to know you don't steal my keys?

You can support pre-signed URLs instead. My system will generate a pre-signed URL in 10 minutes expire. So Kraken could upload to my S3 by specifying a path. It's secure more than the current solution.

Please consider this solution.

v0.1.0 has a broken gemspec

Your gemspec specifies lib/kraken-io.rb but not any files within lib/kraken-io/, so the requires all fail on load.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.