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

[v0.26.0] show graph command fails #1400

Open
codebuff opened this issue Oct 2, 2024 · 4 comments
Open

[v0.26.0] show graph command fails #1400

codebuff opened this issue Oct 2, 2024 · 4 comments

Comments

@codebuff
Copy link

codebuff commented Oct 2, 2024

Describe the bug

Show graph command fails. I am using this inside code-server , please see logs below

2024-10-02 15:57:59.507 [error] TypeError: fetch failed
	at node:internal/deps/undici/undici:12502:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async LH (/home/vscode/.local/share/code-server/extensions/foam.foam-vscode-0.26.0/out/bundles/extension-node.js:275:6895)
	at async IH (/home/vscode/.local/share/code-server/extensions/foam.foam-vscode-0.26.0/out/bundles/extension-node.js:275:6190)
	at async /home/vscode/.local/share/code-server/extensions/foam.foam-vscode-0.26.0/out/bundles/extension-node.js:275:4825
	at async u.h (/usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:161:210546) foam-vscode.show-graph {"value":"foam.foam-vscode","_lower":"foam.foam-vscode"}

Small Reproducible Example

No response

Steps to Reproduce the Bug or Issue

Try Foam:show graph command

Expected behavior

Graph appears

Screenshots or Videos

No response

Operating System Version

inside code-server instance, client is browser on Mac OS

Visual Studio Code Version

1.93.1

Additional context

As a workaround, I am reverting back to 0.25.12

@codebuff codebuff changed the title [vsix 0.26.0][code-server] show graph command fails [v0.26.0][code-server] show graph command fails Oct 2, 2024
@codebuff codebuff changed the title [v0.26.0][code-server] show graph command fails [v0.26.0] show graph command fails Oct 6, 2024
@mescanne
Copy link

This also fails on vscode serve-web. There is also a warning the console:
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.

I don't think that warning is connected... there are no other errors or warnings in the network or console.

@mihaimaruseac
Copy link

This also happened to me on Linux with either vscode or codium options.

@sbussard-inversemetric
Copy link

same. bump

@riccardoferretti
Copy link
Collaborator

@pderaaij is looking into the issue.
In the meantime, as 0.26 didn't introduce anything new except for the support of Foam as web extension, I recommend the workaround shared above about reverting to 0.25.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants