question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] StartUp Error, stringSlice breaking Insomnia

See original GitHub issue
  • Insomnia Version: 6.0.2
  • Operating System: Windows 10 Pro x64

Details

image (Leaving this here for the github search): Error: "toString()" failed at stringSlice (buffer.js:556:443) at Buffer.toString (buffer.js:629:10) at tryToString (fs.js:509:15) at FsReqWrap.readFileAfterClose [as oncomplete] (fs.js:501:12)

Tried to send a xml file with a size of about 4mb (ca. 75.000 rows) as a Post. It worked several of times, but suddenly it doesn’t work anymore. Maybe I clicked the send button to often, because there was always a little pause after clicking the send button, before the loading spinner appeared.

Now I can’t use Insomnia anymore, because the View isnt even rendering, only the window shell is appearing. Killing the Process didnt worked out. Is There a fix where i keep my “workspace”? So if I install it again i dont lose all my requests.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dchwcommented, Sep 14, 2018

I am not sure if this is how I was supposed to do it, but I found that there were some huge requests in ~/Library/Applications Support/Insomnia/insomnia.Request.db. I removed the lines that contained the huge request (in my case, the last 10 or so), and Insomnia began working again.

0reactions
stale[bot]commented, Nov 17, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug] StartUp Error, stringSlice breaking Insomnia · Issue #1152
Tried to send a xml file with a size of about 4mb (ca. 75.000 rows) as a Post. It worked several of times,...
Read more >
Changelog - Insomnia REST
Fixed the broken run test command when using Inso CLI installed from NPM. This issue affected all versions of the insomnia-inso npm package...
Read more >
5 Top Causes of Sleep Problems in Aging, & Proven Ways to ...
Dr. K reviews the top five causes of sleep problems in older adults & research-proven ways to treat insomnia in later life, without...
Read more >
Insomnia: relax… and stop worrying about lack of sleep
What is the solution to the torture of insomnia? Drugs? Therapy? David K Randall investigates in his new book.
Read more >
Melatonin for Sleep: How the Aid Works - The New York Times
The “vampire hormone” can act like a dose of sunset, tricking your body into feeling like it's time to sleep.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found