iron-io / iron_mq_ruby

Ruby library for IronMQ.
http://www.iron.io
BSD 2-Clause "Simplified" License
35 stars 17 forks source link

request blocked #75

Closed didil closed 8 years ago

didil commented 10 years ago

Hi

I've been using iron_mq_ruby without problems for a year, but starting a couple of days I've had an issue where my workers which get messages from a pull queue started blocking when getting messages, they just keep waiting for a response forever : here is the stack trace

   from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/net/http.rb:918:in `block in connect'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/net/http.rb:918:in `connect'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/2.0.0/net/http.rb:857:in `start'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:965:in `reset'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:628:in `connection_for'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/rest-2.7.1/lib/rest/wrappers/net_http_persistent_wrapper.rb:93:in `get'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/rest-2.7.1/lib/rest/client.rb:118:in `block in get'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/rest-2.7.1/lib/rest/client.rb:142:in `perform_op'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/rest-2.7.1/lib/rest/client.rb:117:in `get'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/iron_core-1.0.4/lib/iron_core/client.rb:187:in `get'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/iron_mq-5.0.1/lib/iron_mq/client.rb:68:in `get'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/iron_mq-5.0.1/lib/iron_mq/queues.rb:243:in `call_api_and_parse_response'
    from /home/didil/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/iron_mq-5.0.1/lib/iron_mq/queues.rb:194:in `get_messages'
rdallman commented 8 years ago

is this still an issue? is so, please re open. thanks!