Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freelens crashes on start #207

Open
opoleshuk-amelia opened this issue Mar 3, 2025 · 4 comments
Open

Freelens crashes on start #207

opoleshuk-amelia opened this issue Mar 3, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@opoleshuk-amelia
Copy link

Describe the bug
When I try to start freelens on MacOS, it shows the loading screen for a few minutes, but then crashes

To Reproduce
Steps to reproduce the behavior:

  1. Install via brew install --cask freelens
  2. Start freelens
  3. See loading screen and the crash dialog after a few minutes

Expected behavior
It starts

Screenshots
Image

Image

Environment (please complete the following information):

  • Freelens Version: 1.0.0
  • OS: MacOS
  • Installation method: homebrew

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:

/Applications/Freelens.app/Contents/MacOS » ./Freelens
[15831:0303/210811.570525:ERROR:node_bindings.cc(307)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
info:    ┏ [LENS-EXTENSIONS]: LOADING ... +0ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-EXTENSIONS]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-extensions.json +3ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ Starting v1.0.0 of Freelens... +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ 🔌 Starting LensProxy +17ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-PROXY]: Proxy server has started at 127.0.0.1:61216 +9ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ 🔎 Testing LensProxy connection ... +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-USER-STORE]: LOADING ... +13ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-USER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-user-store.json +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-CLUSTER-STORE]: LOADING ... +2ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-CLUSTER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-cluster-store.json +218ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ ⚡ LensProxy connection OK +153ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ 📟 Setting protocol client for freelens:// +29ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ 📟 Protocol client register succeeded ✅ +0ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Loading content for window "splash" from file: /Applications/Freelens.app/Contents/Resources/app.asar/static/splash.html... +43ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-FILESYSTEM-PROVISIONER-STORE]: LOADING ... +11ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-FILESYSTEM-PROVISIONER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-filesystem-provisioner-store.json +0ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ 🐚 Syncing shell environment +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [UNIX-SHELL-ENV]: running against /bin/zsh +0ms
info:    ┃ [1] {
info:    ┃ [2]   command: ` '/Applications/Freelens.app/Contents/MacOS/Freelens' -p '"36270ebe715447cfad3180ea7a45fa1a" + JSON.stringify(process.env) + "36270ebe715447cfad3180ea7a45fa1a"'`,
info:    ┃ [3]   shellArgs: [ '-l', '-i' ],
info:    ┃ [4]   timestamp: '03/03/2025 21:08:12'
info:    ┗ [5] }
info:    ┏ [LENS-WEBLINK-STORE]: LOADING ... +3ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-WEBLINK-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-weblink-store.json +2ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-HOTBAR-STORE]: LOADING ... +2ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [LENS-HOTBAR-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-hotbar-store.json +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:12' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Window "splash" loaded +56ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
2025-03-03 21:08:13.272 Freelens[15831:6562580] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-03 21:08:13.272 Freelens[15831:6562580] +[IMKInputSession subclass]: chose IMKInputSession_Modern
info:    ┏ [SHELL-SYNC]: Synced shell env +407ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ 🧩 Initializing extensions +2ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [EXTENSIONS-LOADER]: auto initializing extensions +0ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [EXTENSION-DISCOVERY] loading extensions from /Users/oleg/Library/Application Support/Freelens +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [EXTENSION-DISCOVERY] watching extension add/remove in /Users/oleg/.freelens/extensions +1ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Loading content for window "first-application-window" from url: https://lens.app:61216... +16ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [KUBECONFIG-SYNC]: starting requested syncs +13ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +1ms
info:    ┗ [1] { filePath: '/Users/oleg/Library/Application Support/Freelens/kubeconfigs', timestamp: '03/03/2025 21:08:13' }
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +0ms
info:    ┗ [1] { filePath: '/Users/oleg/.kube', timestamp: '03/03/2025 21:08:13' }
info:    ┏ [KUBECONFIG-SYNC]: ignoring '/Users/oleg/.kube/.DS_Store' due to ignore glob: .DS_Store +3ms
info:    ┗ [1] { timestamp: '03/03/2025 21:08:13' }
(node:15831) electron: Failed to load URL: https://lens.app:61216/ with error: ERR_TIMED_OUT
(Use `Freelens --trace-warnings ...` to show where the warning was created)
Error: ERR_TIMED_OUT (-7) loading 'https://lens.app:61216/'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:77333)
    at EventEmitter.failListener (node:electron/js2c/browser_init:2:77546)
    at EventEmitter.emit (node:events:525:35)
    at EventEmitter.emit (node:domain:489:12) {
  errno: -7,
  code: 'ERR_TIMED_OUT',
  url: 'https://lens.app:61216/'
}
[1]    15831 abort      ./Freelens

crash.txt

@opoleshuk-amelia opoleshuk-amelia added the bug Something isn't working label Mar 3, 2025
@dex4er
Copy link
Collaborator

dex4er commented Mar 4, 2025

@opoleshuk-amelia What is your MacOS version / CPU variant?

@opoleshuk-amelia
Copy link
Author

@dex4er MacOS 15.3.1 (24D70), Apple M2 Max

@dex4er
Copy link
Collaborator

dex4er commented Mar 4, 2025

Does it fail also with PKG installer? You can find it at https://freelensapp.github.io/ or here in Releases.

@opoleshuk-amelia
Copy link
Author

Tried https://github.com/freelensapp/freelens/releases/download/v1.0.0/Freelens-1.0.0-macos-arm64.pkg - same issue.

/Applications/Freelens.app/Contents/MacOS » ./Freelens
[94882:0306/215529.603194:ERROR:node_bindings.cc(307)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
info:    ┏ [LENS-EXTENSIONS]: LOADING ... +0ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-EXTENSIONS]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-extensions.json +3ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ Starting v1.0.0 of Freelens... +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ 🔌 Starting LensProxy +17ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-PROXY]: Proxy server has started at 127.0.0.1:53686 +17ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ 🔎 Testing LensProxy connection ... +0ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-USER-STORE]: LOADING ... +14ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-USER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-user-store.json +2ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-CLUSTER-STORE]: LOADING ... +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:30' }
info:    ┏ [LENS-CLUSTER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-cluster-store.json +187ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ ⚡ LensProxy connection OK +146ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ 📟 Setting protocol client for freelens:// +27ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ 📟 Protocol client register succeeded ✅ +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Loading content for window "splash" from file: /Applications/Freelens.app/Contents/Resources/app.asar/static/splash.html... +62ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [LENS-FILESYSTEM-PROVISIONER-STORE]: LOADING ... +13ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [LENS-FILESYSTEM-PROVISIONER-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-filesystem-provisioner-store.json +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ 🐚 Syncing shell environment +0ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [UNIX-SHELL-ENV]: running against /bin/zsh +1ms
info:    ┃ [1] {
info:    ┃ [2]   command: ` '/Applications/Freelens.app/Contents/MacOS/Freelens' -p '"0615df099db04a56a353c900440e2dea" + JSON.stringify(process.env) + "0615df099db04a56a353c900440e2dea"'`,
info:    ┃ [3]   shellArgs: [ '-l', '-i' ],
info:    ┃ [4]   timestamp: '06/03/2025 21:55:31'
info:    ┗ [5] }
info:    ┏ [LENS-WEBLINK-STORE]: LOADING ... +2ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [LENS-WEBLINK-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-weblink-store.json +2ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [LENS-HOTBAR-STORE]: LOADING ... +2ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [LENS-HOTBAR-STORE]: LOADED from /Users/oleg/Library/Application Support/Freelens/lens-hotbar-store.json +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Window "splash" loaded +118ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
2025-03-06 21:55:31.642 Freelens[94882:8921970] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-06 21:55:31.642 Freelens[94882:8921970] +[IMKInputSession subclass]: chose IMKInputSession_Modern
info:    ┏ [SHELL-SYNC]: Synced shell env +346ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ 🧩 Initializing extensions +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [EXTENSIONS-LOADER]: auto initializing extensions +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [EXTENSION-DISCOVERY] loading extensions from /Users/oleg/Library/Application Support/Freelens +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [EXTENSION-DISCOVERY] watching extension add/remove in /Users/oleg/.freelens/extensions +1ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [CREATE-ELECTRON-WINDOW]: Loading content for window "first-application-window" from url: https://lens.app:53686... +12ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [KUBECONFIG-SYNC]: starting requested syncs +11ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +0ms
info:    ┗ [1] { filePath: '/Users/oleg/Library/Application Support/Freelens/kubeconfigs', timestamp: '06/03/2025 21:55:31' }
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +0ms
info:    ┗ [1] { filePath: '/Users/oleg/.kube', timestamp: '06/03/2025 21:55:31' }
info:    ┏ [KUBECONFIG-SYNC]: ignoring '/Users/oleg/.kube/.DS_Store' due to ignore glob: .DS_Store +7ms
info:    ┗ [1] { timestamp: '06/03/2025 21:55:31' }
(node:94882) electron: Failed to load URL: https://lens.app:53686/ with error: ERR_TIMED_OUT
(Use `Freelens --trace-warnings ...` to show where the warning was created)
Error: ERR_TIMED_OUT (-7) loading 'https://lens.app:53686/'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:77333)
    at EventEmitter.failListener (node:electron/js2c/browser_init:2:77546)
    at EventEmitter.emit (node:events:525:35)
    at EventEmitter.emit (node:domain:489:12) {
  errno: -7,
  code: 'ERR_TIMED_OUT',
  url: 'https://lens.app:53686/'
}
[1]    94882 abort      ./Freelens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants