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

Sidecar does not start #1069

Open
1 task
pythonpete32 opened this issue Jan 10, 2025 · 5 comments
Open
1 task

Sidecar does not start #1069

pythonpete32 opened this issue Jan 10, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@pythonpete32
Copy link

Before submitting your bug report

  • I'm not able to find an open issue that reports the same bug

Environment

- OS: `mac-os 15.3 Beta (24D5034f)` && `Fedora Asahi Remix 41`
- Sidecar commit:
- IDE commit: 

Version: 1.96.2
Release: 25009
Commit: d97dcae66c7334fe75eb1ca6120e8eabfcc300cc
Date: 2025-01-09T16:52:29.429Z (8 hrs ago)
Electron: 32.2.7
ElectronBuildId: undefined
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0


### Description

Sidecar fails to start when opening the application

### Reproduction

install and launch tha application

![image](https://github.com/user-attachments/assets/46acc5ef-c021-4336-8855-d8d845fda4e6)
![image](https://github.com/user-attachments/assets/9b732340-e00a-481c-851c-23bd586aa177)


### Log output

```Shell
INFO Started local extension host with pid 47943.
workbench.desktop.main.js:35   ERR [Extension Host] Health check failed with error: TypeError: fetch failed
	at node:internal/deps/undici/undici:13392:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Dq.globalThis.fetch (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:20696)
	at async y (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:767576)
	at async T (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:769049)
	at async t.setupSidecar (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:765302)
	at async t.activate (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:643796)
	at async Y0._activate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5653)
	at async Y0._waitForDepsThenActivate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5595)
	at async Y0._initialize (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:4958)
error @ workbench.desktop.main.js:35
workbench.desktop.main.js:740 [Extension Host] Health check failed with error: TypeError: fetch failed
	at node:internal/deps/undici/undici:13392:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Dq.globalThis.fetch (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:20696)
	at async y (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:767576)
	at async T (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:769049)
	at async t.setupSidecar (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:765302)
	at async t.activate (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:643796)
	at async Y0._activate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5653)
	at async Y0._waitForDepsThenActivate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5595)
	at async Y0._initialize (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:4958)
$as @ workbench.desktop.main.js:740
workbench.desktop.main.js:740 [Extension Host] Running sidecar binary
workbench.desktop.main.js:740 [Extension Host] Starting sidecar binary at path: /Users/abuusama/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release/webserver
workbench.desktop.main.js:740 [Extension Host] Waiting for sidecar to become healthy...
workbench.desktop.main.js:740 [Extension Host] Starting health check retries (max 15 attempts, 1000ms interval)
workbench.desktop.main.js:740 [Extension Host] Health check attempt 1/15
workbench.desktop.main.js:35   ERR [Extension Host] Sidecar process error: Objectmessage: "spawn /Users/abuusama/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release/webserver EACCES"name: "Error"stack: "Error: spawn /Users/abuusama/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release/webserver EACCES\n\tat ChildProcess._handle.onexit (node:internal/child_process:285:19)\n\tat onErrorNT (node:internal/child_process:483:16)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)"[[Prototype]]: Object
error @ workbench.desktop.main.js:35
workbench.desktop.main.js:740 [Extension Host] Sidecar process error: Objectmessage: "spawn /Users/abuusama/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release/webserver EACCES"name: "Error"stack: "Error: spawn /Users/abuusama/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release/webserver EACCES\n\tat ChildProcess._handle.onexit (node:internal/child_process:285:19)\n\tat onErrorNT (node:internal/child_process:483:16)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)"[[Prototype]]: Object
$as @ workbench.desktop.main.js:740
workbench.desktop.main.js:35   ERR An unknown error occurred. Please consult the log for more details.
error @ workbench.desktop.main.js:35
workbench.desktop.main.js:35   ERR [Extension Host] Health check failed with error: TypeError: fetch failed
	at node:internal/deps/undici/undici:13392:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Dq.globalThis.fetch (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:20696)
	at async y (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:767576)
	at async /Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:770789
	at async /Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:770603
	at async T (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:769508)
	at async t.setupSidecar (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:765302)
	at async t.activate (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:643796)
	at async Y0._activate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5653)
	at async Y0._waitForDepsThenActivate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5595)
	at async Y0._initialize (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:4958)
error @ workbench.desktop.main.js:35
workbench.desktop.main.js:740 [Extension Host] Health check failed with error: TypeError: fetch failed
	at node:internal/deps/undici/undici:13392:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Dq.globalThis.fetch (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:20696)
	at async y (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:767576)
	at async /Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:770789
	at async /Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:770603
	at async T (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:769508)
	at async t.setupSidecar (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:765302)
	at async t.activate (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/dist/extension.js:2:643796)
	at async Y0._activate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5653)
	at async Y0._waitForDepsThenActivate (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:5595)
	at async Y0._initialize (file:///Applications/Aide.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:123:4958)
$as @ workbench.desktop.main.js:740
workbench.desktop.main.js:740 [Extension Host] Waiting 1000ms before next attempt...
workbench.desktop.main.js:740 [Extension Host] Health check attempt 2/15
@pythonpete32 pythonpete32 added the bug Something isn't working label Jan 10, 2025
@kaustubhkagrawal
Copy link

Facing the same issue on the Mac.

While the team is fixing, I have managed to bypass this issue by setting up https://github.com/codestoryai/sidecar manually in my mac. Follow the setup guidelines as per the readme, here.

Hope the team fixes this asap.

@geraldoandradee
Copy link

geraldoandradee commented Jan 10, 2025

Facing the same issue in Mac M2 and Mac Intel. Worth to mention that this bug makes the IDE usage impossible.

@trivedip
Copy link

trivedip commented Jan 10, 2025

Same issue for me as well on M1 Pro. This is duplicate of "Mac dmg installation - Sidecar can not start error #1062" though and its few days old without any answers...

@temple-1
Copy link

same issue on m1 pro

@css521
Copy link

css521 commented Jan 14, 2025

First, I located the Aide plugin directory at ~/Library/Application Support/Aide/User/globalStorage/codestory-ghost.codestoryai/sidecar_bin/target/release. Then, I resolved the issue by giving execution permissions to the webserver using chmod a+x webserver.

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

6 participants