Kong / Kong/insomnia

Insomnia REST client fails to start after upgrade on Debian 10

Open
#5,847 2 comments 1 reaction 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

I expect to see Insomnia REST client to work normally after a update.
I am using Debian GNU/Linux 10 (Buster), Very recently I received a software upgrade for Insomnia REST client.

```
insomnia_2023.1.0_amd64.deb
```

After upgrading to insomnia_2023.1.0 the application is not launching and have become unusable.

### Actual Behavior

Insomnia is not working properly. The UI does not show up.
When I tried to ran from console, I see this:

```
CORRA\corra-151@COK-LAP-008:~$ insomnia
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/.org.chromium.Chromium.UWAWqp)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1226:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13328)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/opt/Insomnia/resources/app.asar/node_modules/@getinsomnia/node-libcurl/dist/Easy.js:5:18)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
```

### Reproduction Steps

1. Go To Linux Bash Terninal
2. Launch Insomnia REST client
3. Insomnia REST client is not launching
4. It also emits some `Uncaught Exception` in terminal.

```
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/.org.chromium.Chromium.VdtvfI)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1226:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13328)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/opt/Insomnia/resources/app.asar/node_modules/@getinsomnia/node-libcurl/dist/Easy.js:5:18)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
```

### Is there an existing issue for this?

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

### Additional Information

_No response_

### Insomnia Version

2023.1.0

### What operating system are you using?

Other Linux

### Operating System Version

Debian GNU/Linux 10

### Installation method

apt package manager

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the launch failure on Debian GNU/Linux 10 with Insomnia 2023.1.0 and inspect the native module referenced at /opt/Insomnia/resources/app.asar/node_modules/@getinsomnia/node-libcurl/dist/Easy.js. Trace the missing GLIBCXX_3.4.26 dependency and verify that Insomnia launches without the reported JavaScript error on the affected system.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, electron, linux, node.js
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.