Insomnia goes idle for 2 minutes before every request.
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Describe the bug**
We have to wait up to 2 minutes for a request to happen.
On my PC it happens to be about 130 seconds. It was less, about 20-40 seconds before, now it's really hard to use.
When I hit "Send" button, "Loading" title appears for about a second, then time count starts and Insomnia goes idle.
During this idle period:
- Insomnia ignores the "Cancel" button, therefore request cannot be canceled.
- Other menus are available (for example, "Preferences", "Manage Environments")
- Insomnia process starts to require 15-40% CPU, doing seemingly nothing. (Intel Core i5-4690K)
- Application, which is supposed to receive the request, registers nothing coming. (Unlike insomnia, browser receive responses immediately for same endpoints)
After the request is done:
- From the moment it actually "happens", everything is ok.
- Insomnia shows timing (next to request status) not including the "Idle" period, several milliseconds.
- In "Timeline" tab, in "Current time is " statement, it shows time after the idle period passed.
**To Reproduce**
Steps to reproduce the behavior:
1. Click 'Send' in any request. (It reproduces for any request)
**Expected behavior**
Request starts immediately or shortly, in a few seconds.
**Screenshots**


**Desktop:**
- OS:
1. Microsoft Windows [Version 10.0.18363.1621]
2. MAC OS 2021.4.0
- Installation Method: -
- App Version: Insomnia 2021.4.0
Contributor guide
Research direction
Start by reproducing the delay from the request editor with the Send button on the reported Insomnia 2021.4.0 environments, and observe the request and Timeline behavior during the idle period. Trace the request-start path to determine where the roughly 130-second wait occurs; done means requests begin immediately or within a few seconds and Cancel remains responsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100