Describe the bug
I run this extension locally, find that error message:
To Reproduce
Steps to reproduce the behavior:
clone this project
npm install
npm run dev:ext
attach Extension
Open Dashboard
Open devtools to see this error message
Expected behavior
No error message.
Desktop (please complete the following information):
OS: MacOS 12.2.1
VSCode: 1.66.0-insider
**Describe the bug**
I run this extension locally, find that error message:
<img width="1440" alt="image" src="https://user-images.githubusercontent.com/41773861/158229222-a6840ef1-c2f5-4b89-9b21-cefc7e6cc73a.png">
**To Reproduce**
Steps to reproduce the behavior:
1. clone this project
2. `npm install`
3. `npm run dev:ext`
4. `attach Extension`
5. Open Dashboard
6. Open devtools to see this error message
**Expected behavior**
No error message.
**Desktop (please complete the following information):**
- OS: MacOS 12.2.1
- VSCode: 1.66.0-insider
<!-- github-sync-id:1168704769 -->
Hi @tjx666, it seems there went something wrong in the webpack devserver. In your console log, the first visible line says: [webpack-dev-server]: Disconnected!. This is why you see the connection issues, as it is not running anymore. The best is to validate why the server got disconnected. Might be something is blocking the dev server, or that some code broke it, or you stopped the local dev:ext command.
Hi @tjx666, it seems there went something wrong in the webpack devserver. In your console log, the first visible line says: `[webpack-dev-server]: Disconnected!`. This is why you see the connection issues, as it is not running anymore. The best is to validate why the server got disconnected. Might be something is blocking the dev server, or that some code broke it, or you stopped the local dev:ext command.
<!-- github-comment-id:1067118288 -->
Hi, I have my own extension occur another problem with config vscode webview and webpack.
Any idea about following problem?
Hi, I have my own extension occur another problem with config vscode webview and webpack.
Any idea about following problem?
<img width="1440" alt="image" src="https://user-images.githubusercontent.com/41773861/158233227-47489b5d-1e55-41f0-aa13-509332984c21.png">
<!-- github-comment-id:1067125453 -->
I config it like you describle in your blog:
https://github.com/tjx666/scripting-listener/blob/master/src/LogViewer.ts#L63
<!-- github-comment-id:1067126020 -->
adam
changed title from Question: WebSocket connection to 'ws://0.0.0.0:9000/ws' failed: to Question: WebSocket connection to 'ws://0.0.0.0:9000/ws' failed: 2026-10-27 13:11:46 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the bug
I run this extension locally, find that error message:
To Reproduce
Steps to reproduce the behavior:
npm installnpm run dev:extattach ExtensionExpected behavior
No error message.
Desktop (please complete the following information):
Hi @tjx666, it seems there went something wrong in the webpack devserver. In your console log, the first visible line says:
[webpack-dev-server]: Disconnected!. This is why you see the connection issues, as it is not running anymore. The best is to validate why the server got disconnected. Might be something is blocking the dev server, or that some code broke it, or you stopped the local dev:ext command.Hi, I have my own extension occur another problem with config vscode webview and webpack.
Any idea about following problem?
I config it like you describle in your blog:
https://github.com/tjx666/scripting-listener/blob/master/src/LogViewer.ts#L63
Reproduce steps:
npm installnpm run start-webRun ExtensionOpen Scripting Listener ViewerQuestion: WebSocket connection to 'ws://0.0.0.0:9000/ws' failed:to Question: WebSocket connection to 'ws://0.0.0.0:9000/ws' failed: