Skip to content

'Blocked vscode-webview request' seen in VSCode extension #249995

Closed as not planned
@matthewjamesadam

Description

@matthewjamesadam

Does this issue occur when all extensions are disabled?: No, this is triggered by an extension

Unfortunately I can't bisect because this is happening on someone else's machine (another user of our extension)

We build the Unblocked extension (https://marketplace.visualstudio.com/items?itemName=nextchaptersoftware.unblocked-vscode). We have several webviews in our extension, and one of our users is seeing that our webview never loads correctly. The error they see in the console is:

2025-05-28 09:44:30.035 [error] Blocked vscode-webview request vscode-webview://0uvgrdvimn5ihgphlaktlf7litajccovpppl3v1k97g8idpkf84b/index.html?id=a6622d65-d782-4991-bd8d-4a3a6ec55874&parentId=1&origin=4980f214-f87d-4a7f-82b7-143d97ed0e10&swVersion=4&extensionId=nextchaptersoftware.unblocked-vscode&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&remoteAuthority=ssh-remote%2B192.168.64.4&purpose=webviewView

The only unusual aspect of their setup is that they are connected to an SSH remote workspace (you can see that in the webview URL). I've also tried this scenario, SSH remote connecting to a workspace in a Parallels windows VM, and the Unblocked extension works correctly.

From looking at the VSCode source code this seems to be an internal VSCode error, but I can't figure out if this is a VSCode bug, or something unusual/incorrect we are doing in our extension. I'd appreciate any advice or guidance you may have.

Thanks!

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from posterwebviewWebview issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions