jlandersen / vscode-kafka

Apache Kafka® extension for Visual Studio Code
MIT License
97 stars 33 forks source link

Cluster Wizard fails loading assets ERR_ABORTED 404 #211

Closed rsmnarts closed 2 years ago

rsmnarts commented 3 years ago

image Does anyone know why the Kafka client in my vscode is like this? If I check the developer tools, there are several error messages like in the picture

angelozerr commented 3 years ago

vscode-kafka uses https://github.com/redhat-developer/vscode-wizard to create a cluster with wizard and needs some loading of css, js. It seems that it misses those resources.

Your URL is very strange, me I have:

https://file+.vscode-resource.vscode-webview.net/c%3A/Users/azerr/.vscode/extensions/jeppeandersen.vscode-kafka-0.13.0/pages/shared/bootstrap/js/bootstrap.min.js

@fbricon have you some idea?

fbricon commented 2 years ago

I can reproduce the issue on my Mac. Probably caused by recent changes in VS Code

fbricon commented 2 years ago

Same problem on Ubuntu, but not on Windows 10. weird.

angelozerr commented 2 years ago

It's so bad -(

angelozerr commented 2 years ago

@robstryker did you encounter the same probem with last version of vscode and your vscode extensions which consumes vscode-wizard?

angelozerr commented 2 years ago

It seems HTML page can be loaded but not css, js etc. Perhaps I'm wrong but perhaps theproblem comes from https://github.com/redhat-developer/vscode-wizard/blob/563dd9657c892f731805dc3460caf4737cd94e2c/src/pageImpl.ts#L116 and vscode did some change in https://github.com/microsoft/vscode/issues/135361

vscode-wizard should do the same thing than https://github.com/tamuratak/vscode-extension-samples/blob/c9b23a07edd5a2f09ca1f78b3bf6456b78335643/webview-view-sample/src/extension.ts#L42 ?

I repeat me,it's perhaps a wrong suggestion. Just post that to try to understand the problem.

Evynglais commented 2 years ago

Same problem on Ubuntu, but not on Windows 10. weird.

I've got this issue on Windows 10 as well as Ubuntu.