Insomnia: Large Files Crash Application

Created on 22 May 2019  ยท  16Comments  ยท  Source: Kong/insomnia

  • Insomnia Version: Version 6.5.3 (6.5.3.2835)
  • Operating System: MacOS Mojave

Details

This seems related to #282 and #608 but those are both closed and I'm definitely experiencing the problem.

I requested a 2.5MB Excel file through Insomnia and it became unresponsive. This used to work so I think this was broken in a recent update. Also, if I reopen the application after I'm prompted to the application just crashes outright. I had to delete the response database to open Insomnia again.

Edit: It looks like this might be specific to an xml response. I'm getting:

<ns:binary xmlns:ns="http://ws.apache.org/commons/ns/payload">
base64encodedbytes... lots of them...
</ns:binary>

from the application I was calling now and I think Insomnia might be getting stuck trying to format the xml in the preview.

performance stale

All 16 comments

๐Ÿ‘‹ Thanks for opening your first issue! If you're reporting a ๐Ÿž bug, please make sure
you include steps to reproduce it. If you're requesting a feature ๐ŸŽ, please provide real
use cases that would benefit. ๐Ÿ‘ช

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

Hi @mlh758,

Are you able to post an example XML file for me to test with?

data.xml.zip

I zipped the response body up and attached it to this comment.

Hi. Same issue here. Insomnia becomes unresponsive whent trying to load heavy response (about 1mb text), which leads to it failing to start

Version info
OS: Windows 10

I am seeing an issue with responses from json, workaround proposed in #282 works but not optimal. The json responses from the requests were working before so maybe recent introduction as mentioned in the issue description

I am experiencing Insomnia getting stuck when I get a larger json response back.

I click into the body response window, do Ctrl+A and Insomnia gets stuck. Unsure if I should open a separate issue, but this happened repeatedly. Exporting raw body works.

Wish there was a copy body button that would prevent this issue.

Same issue on Windows 10 with version 6.5.4 (Shell 3.0.4, Node 10.2.0, V8 6.6.346.32, x64). Exactly the same symptom for me where I try to select the response (530KB) using Ctrl+A or Shift+Ctrl+End the app hangs/becomes unresponsive. Eventually the unresponsive message pops up with the option to "Reload".

I suspect issues 1546 and 1545 are related.

@Skyhirider - copy button ++

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Testing code which zips 3 photos and downloads them - Same issue where the large payload size causes insomnia to go into a loop of death until you clear data manually. Commented to prevent stale bot.

Retested with Insomnia 6.6.2 and the app no longer hangs/becomes unresponsive. How about you @skyhirider?

I'm not sure why but running the exact same code again with the exact same files being turned into a zip is not causing the crash bootloop anymore. I would assume clearing whatever insomnia had cached in appdata on windows fixed the issue. Unfortunately I already cleared out my trash so I cannot pull back whatever was in appdata to try to replicate the issue.

I think have the same problem?
I wrote a Get API to download a 3.6 MB zip file. I accidentally tried to preview the file as "Raw" and it froze the app. When I restart it, it again try to open the zip file in "Raw"...

Edit: I let it run for 24 minutes (when I was writing my initial comment) and it finally managed to open it. I believe you should implement that if the app crashed, next time you start it should change the preview type to Visual Preview, or no preview at all.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Forgot this was still open. This has been fixed for me in recent versions. I see a message that preview is disabled for large files.

I tried to show one 3.3mb pdf and now my app is frozen, I can close and open and it remains frozen, Im on Macos 10.15, what Im supposed to do? I really dont want to clear app data and lose everything saved there.

Edit: I went to /users/{username}/app support/insominia/responses and deleted everything in this folder, so the response just fails to load and the app run again as normal

Was this page helpful?
0 / 5 - 0 ratings