Kong / Kong/insomnia

Base64 Function - Insomnia has become unresponsive

Open
#2,667 4 comments 0 reactions 0 assignees View on GitHub
B-performance N-investigation needs-triage
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

**Describe the bug**
We have many scripts that contain xml data we are base64 encoding within Insomnia. The files are large, but not ridiculous (60kb).

**To Reproduce**
Steps to reproduce the behavior:
1. Create a POST to any endpoint
2. Add a Base64=>Encode function
3. Paste a larger file in there
4. Do anything, e.g. try to cut/paste it out, try to put a new file in, etc

**Expected behavior**
Normally, the live preview in the "Edit Tag" will take a few seconds to render, then you can click Done

**Screenshots**
[
![Capture](https://user-images.githubusercontent.com/43274908/94301196-04ee0c00-ff1f-11ea-8228-fa46903aeb85.PNG)
](url)

**Desktop (please complete the following information):**
- OS: Windows_NT x64 10.0.17763 (also happens on my MacOS)
- Installation Method: Windows installer
- App Version: 2020.4.0

**Additional context**
I believe this is tied to the release that happened on 9/9/2020. Many of us share these scripts, including partners. I'm hearing the exact same issue from all parties. All of our existing scripts now hang when we try to change data in our scripts. It only hangs when changing data in our Base64 Encode function.

Contributor guide

Open the contributing guide

Research direction

Reproduce the freeze by creating a POST, adding a Base64 Encode function, and pasting a large file into it. Check the live preview and editing actions described in the report on Windows or macOS. Done means large Base64 inputs no longer make Insomnia unresponsive and the preview can be completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.