Kong / Kong/insomnia

Request timeout 0 is not working

Open
#6,439 3 comments 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

Request timeout config 0 should not trigger a timeout.

### Actual Behavior

it triggers at 21 secs
![image](https://github.com/Kong/insomnia/assets/3688208/f3617325-b54d-4bde-bda2-bff3c021e300)

### Reproduction Steps

1. Configure request timeout
![image](https://github.com/Kong/insomnia/assets/3688208/a1079d38-af49-43b7-9dfa-19c4dc22d27c)
2. make a request that waits more than 21 seconds.

thats it.

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2023.5.7

### What operating system are you using?

Windows

### Operating System Version

Windows 11 Pro 22H2 Compilation 22621.2134

### Installation method

oficial install from insomnia.rest long time ago then it self updated

### Last Known Working Insomnia version

couldn't remember, since the last major update you did it is happening.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the request with timeout set to 0 on Windows 11, using the reproduction steps in this issue. Trace the request timeout handling to identify why a request is stopped after about 21 seconds; done means a zero timeout permits requests longer than 21 seconds without triggering a timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.