jnunemaker / jnunemaker/httparty

Timeout not raising error

Open
#712 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
5.9k
Forks
973
Avg merge
1h 59m
Merged PRs (30d)
1

Description

I realize this is a shot in the dark, but I'm stumped and could use some help.

See the screenshot below from Rollbar. I have rack_timeout installed and set to a 10s timeout. timeout in this scope is 5s.

Shouldn't HTTParty be raising a timeout error (which should be caught in the rescue) before rack_timeout raises their own? Or am I missing something silly?

Ek71OzJVcAAleQg

Thanks in advance!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's Rollbar screenshot and the interaction between HTTParty's timeout setting and rack_timeout. Reproduce the reported request with the stated 5-second and 10-second limits, then determine whether a timeout error reaches the rescue block; done means the expected timeout behavior is documented or covered by a focused test.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.