Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
srkgupta opened this issue Jun 25, 2016 · 1 comment

Comments

@srkgupta
Copy link

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'

@leadingproperties
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants