Bugsnag reports that from time to time IO::EAGAINWaitReadable
exception is raised in production.
IO::EAGAINWaitReadable: Resource temporarily unavailable - read would block
The exception is raised on HTTP request via HTTParty, ultimately leading to net/protocol.rb:153:in read_nonblock
in Ruby 2.1.3.
Why do I get IO::EAGAINWaitReadable
? Why are sometimes HTTP requests blocking? And why not let them block, what's the deal?