Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Application not responding after cancelling a request #129

Open
1 task done
drash-course opened this issue Jan 9, 2024 · 2 comments
Open
1 task done

Application not responding after cancelling a request #129

drash-course opened this issue Jan 9, 2024 · 2 comments

Comments

@drash-course
Copy link

drash-course commented Jan 9, 2024

Expected Behavior

When you make a request with a DNS that is slow to resolve / does not resolve, clicking on "Cancel Request" should cancel the request.

Actual Behavior

Clicking on "Cancel Request" makes the application not respond.

Reproduction Steps

  1. Change your DNS settings: set a random IP address for the DNS server
    => This should cause DNS requests to take a long time and eventually fail
  2. Open Insomnium and make any GET request (e.g. GET google.com/)
  3. Cancel the request
  4. It locks up

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Version 0.2.3

What operating system are you using?

macOS

Operating System Version

Sonoma 14.3

Installation method

downloaded .dmg from GitHub releases

Here is a screenshot of the issue

Screenshot 2024-01-09 at 13 39 34

@drash-course
Copy link
Author

Love your app BTW, it's the perfect Insomnia / Postman replacement !

@archywillhe
Copy link
Member

oh man this is really weird; need to investigate this more ..probably something to do with failing to catch the exception in the original fetch function

and thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants