mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2897] [bug]: Time counter doesn't stop (ever) after a request was cancelled #938
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#938
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cpt-westphalen on GitHub (Jan 6, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2897
Originally assigned to: @aitchnyu on GitHub.
This might be a simple issue to solve:
I use the web Hoppscotch app.
If my API has a bug and doesn't respond to a request, Hopp allows me to click the big "cancel" button to stop the listening.
After that, every other request I make happens to -- as fast as the response time is -- never clear the time counter again:
The solution is probably just checking the counter function and the cancel button function to see what's missing.
Thank you all for this amazing app, by the way. :)
@Imaginarybandit commented on GitHub (Jan 23, 2023):
Hello, I would like to tackle this issue
@liyasthomas commented on GitHub (Jan 23, 2023):
Hi @Imaginarybandit, feel free to look into this bug.
@aitchnyu commented on GitHub (Feb 2, 2023):
@cpt-westphalen I'm having a hard time reproducing this bug. Could you describe how to trigger it in steps I can do?
@cpt-westphalen commented on GitHub (Feb 2, 2023):
@aitchnyu This is it:
npm init -y,npm i express;index.jsfile on root;node index.json terminal;GET, paste/typehttp://localhost:3000/replyand send request. // => it will answer with < 100ms.GET, paste/typehttp://localhost:3000/and send request. // => it will load for several secondsCancelbutton to stop listening for response.GET, paste/typehttp://localhost:3000/replyand send request. // => it will answer with a huge response time@abrahamparayil commented on GitHub (Feb 5, 2023):
@cpt-westphalen I tried to reproduce the bug using the steps you have mentioned here but I am unable to reproduce the issue. The second
GETrequest mentioned in step 10 responds back almost instantaneously.Cc: @aitchnyu
@aitchnyu commented on GitHub (Feb 6, 2023):
I can confirm for Firefox and hoppscotch.io. Will check with other users to see if its a fluke.
This is my experience. I called
/, waited, called/reply, got 15743 ms, called/replyagain and got a 37 ms. But I got many cases of: 3-5 subsequent requests to/replywill also have high response times till they converge into the milliseconds range.Screencast from 2023-02-06 20-08-02.webm
@Vansh-Baghel commented on GitHub (Feb 7, 2023):
@aitchnyu I guess that fixes the issue, right?