uncaught throw :called

We have a piece of code that runs a bunch of requests in parallel. It runs internally on our load balancer so the requests run in parallel over HTTP1 pipeline.

It's really simple we just do HTTPX.get(*urls)

It's not easy to reproduce, but there will be an error in one of those requests we get this weird uncaught throw :called. Retry plugin doesn't work because (I guess) the uncaught throw.

gems/httpx-0.18.4/lib/httpx/connection/http1.rb:244:in `throw': uncaught throw :called (UncaughtThrowError)
    from gems/httpx-0.18.4/lib/httpx/connection/http1.rb:244:in `disable'
    from gems/httpx-0.18.4/lib/httpx/connection/http1.rb:187:in `handle_error'
    from gems/httpx-0.18.4/lib/httpx/connection.rb:566:in `handle_error'
    from gems/httpx-0.18.4/lib/httpx/connection.rb:561:in `on_error'
    from gems/httpx-0.18.4/lib/httpx/callbacks.rb:22:in `block in emit'
    from gems/httpx-0.18.4/lib/httpx/callbacks.rb:22:in `delete_if'
    from gems/httpx-0.18.4/lib/httpx/callbacks.rb:22:in `emit'
    from gems/httpx-0.18.4/lib/httpx/pool.rb:45:in `block in next_tick'
    from gems/httpx-0.18.4/lib/httpx/pool.rb:44:in `each'
    from gems/httpx-0.18.4/lib/httpx/pool.rb:44:in `rescue in next_tick'
    from gems/httpx-0.18.4/lib/httpx/pool.rb:28:in `next_tick'
    from gems/httpx-0.18.4/lib/httpx/session.rb:210:in `block in receive_requests'
    from gems/httpx-0.18.4/lib/httpx/session.rb:205:in `loop'
    from gems/httpx-0.18.4/lib/httpx/session.rb:205:in `receive_requests'
    from gems/httpx-0.18.4/lib/httpx/session.rb:181:in `send_requests'
    from gems/httpx-0.18.4/lib/httpx/session.rb:36:in `request'
    from gems/httpx-0.18.4/lib/httpx/chainable.rb:8:in `get'
Edited by Oliver Morgan