Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The response panel hangs indefinitely when using the Repeat on Interval function #6891

Closed
1 task done
tjayr opened this issue Dec 1, 2023 · 1 comment · Fixed by #6936
Closed
1 task done

The response panel hangs indefinitely when using the Repeat on Interval function #6891

tjayr opened this issue Dec 1, 2023 · 1 comment · Fixed by #6936
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@tjayr
Copy link

tjayr commented Dec 1, 2023

Expected Behavior

The response from the api call should be shown in the response panels.

Actual Behavior

The response pane hangs when the request is sent, the api being tested here typically responds in around 30ms

image

Reproduction Steps

  1. Create a new GraphQL Request
  2. Enter https://countries.trevorblades.com/ as the POST url
  3. Enter the following graphql as the query body
query ListCountriesInNAFTA {
  countries(filter: { code: { in: ["US", "CA", "MX"] } }) {
    code
    name
    languages {
      name
    }
  }
}

The typical response times for this api are 30ms

  1. Set the Repeat on Interval to 0.15
  2. Press Send

Is there an existing issue for this?

Additional Information

This is not limited to GraphQL requests. I have a number of private slow json based apis that respond in the 1 - 3 second time range, setting a repeat on interval value between 0.5-0.9 causes the same behaviour with those endpoints.

From examining the console logs, the requests/responses do appear to be proceeding, but the user interface never updates beyond the initial progress spinner and ultimately you need to cancel the requests.

HTTP/2 Preferred and a response timeout of 30000ms is set.

Insomnia Version

8.4.5

What operating system are you using?

Ubuntu

Operating System Version

6.2.0-37-generic # 38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Installation method

deb package

Last Known Working Insomnia version

No response

@tjayr tjayr added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Dec 1, 2023
@zhengjitf
Copy link
Contributor

FYI, from my side, the time interval should start from the previous request response.
Additionally, it's more intuitive to request immediately upon button click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants