Kong / Kong/insomnia

Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed

Open
#8,292 3 comments 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

Clean-Installing and opening Insomnia works

### Actual Behavior

Insomnia does not start up at all

### Reproduction Steps

I dont know. I tried to import a rather large request collection ([this one](https://dac-static.atlassian.com/cloud/jira/platform/swagger-v3.v3.json?_v=1.7656.0-0.1317.0)) and got a blank screen. From there on, i could not start insomnia at all with the error given in the logs below. I tried deleting cache directiories, nothing. I reinstalled insomnia completely from scratch (using the .dmg and via brew) - nothing. I only get a blank screen. I then updated to 10.3.0 (was at 9.* before) and also the current beta, same behaviour.

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Which sync method do you use?

- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [X] Local only

### Additional Information

[2025-01-13 16:47:10.552] [info] Running version 10.3.1-beta.0
[2025-01-13 16:47:10.554] [info] [electron client protocol] successfully set default protocol 'insomnia://'
[2025-01-13 16:47:10.658] [info] [fix] Running database repairs
[2025-01-13 16:47:10.916] [info] [db] Initialized DB at /Users//Library/Application Support/Insomnia/insomnia.$TYPE.db
[2025-01-13 16:47:10.916] [info] [db] Init responses DB
[2025-01-13 16:47:10.917] [info] [db] Init websocket-responses DB
[2025-01-13 16:47:10.917] [info] [localstorage] Initialized at /Users//Library/Application Support/Insomnia/localStorage
[2025-01-13 16:47:10.936] [info] [main] Loading file:///Applications/Insomnia.app/Contents/Resources/app.asar/index.html
[2025-01-13 16:47:10.942] [info] [main] Registering the hidden window restarting handler
[2025-01-13 16:47:10.943] [info] [updater] Using url https://updates.insomnia.rest/builds/check/mac?v=10.3.1-beta.0&app=com.insomnia.app&channel=stable
[2025-01-13 16:47:10.943] [info] [updater] Checking for updates url=https://updates.insomnia.rest/builds/check/mac?v=10.3.1-beta.0&app=com.insomnia.app&channel=stable
[2025-01-13 16:47:10.989] [info] [main] window focus
[2025-01-13 16:47:11.409] [info] [updater] Not Available
[2025-01-13 16:47:28.240] [info] [main] window blur
[2025-01-13 16:47:28.240] [error] Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at s.send (node:electron/js2c/browser_init:2:89692)
at _.send (node:electron/js2c/browser_init:2:74140)
at BrowserWindow. (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:86858:35)
at BrowserWindow.emit (node:events:531:35)
at emitter.emit (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:82404:14)
[2025-01-13 16:48:09.958] [info] [main] window focus
[2025-01-13 16:48:09.959] [error] Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at s.send (node:electron/js2c/browser_init:2:89692)
at _.send (node:electron/js2c/browser_init:2:74140)
at BrowserWindow. (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:86854:35)
at BrowserWindow.emit (node:events:531:35)
at emitter.emit (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:82404:14)
[2025-01-13 16:48:14.396] [info] [main] window blur
[2025-01-13 16:48:14.397] [error] Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at s.send (node:electron/js2c/browser_init:2:89692)
at _.send (node:electron/js2c/browser_init:2:74140)
at BrowserWindow. (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:86858:35)
at BrowserWindow.emit (node:events:531:35)
at emitter.emit (/Applications/Insomnia.app/Contents/Resources/app.asar/main.min.js:82404:14)

### Insomnia Version

10.3.0, 10.3.1-beta

### What operating system are you using?

macOS

### Operating System Version

MacBook - Apple M2 Pro

### Installation method

homebrew and via dmg from github releases

### Last Known Working Insomnia version

9.* something, I am not sure exactly - but it was not working after the import of the jira request collection

Contributor guide

Open the contributing guide

Research direction

Start with the macOS launch logs and the Electron stack trace, especially the handler reported at app.asar/main.min.js:86854-86858, and reproduce the blank screen after importing the linked large Jira collection. Trace the corresponding source entry point and verify the app launches normally without the “Render frame was disposed” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.