Closed
Description
Hi Guys,
I had written a new extension which renders Graphs from matplotlib into vscode webview component, it works great on vscode desktop, but I encounter problems when trying to work with it in code-server.
I cannot state what exactly the problem is but here is the workflow:
- my vscode extension starts and listens to requests for plot viewing on port 11111 (POST request)
- matplotlib custom backend sends a request to the extension with the url to open in webview
- I use vscode.env.asExternalUri tunneling in order to open the url in a webview and embed the generated address in an Iframe.
- Usually by now the webview with the webpage would have been loaded, but instead I get and error openning localhost refuse to connect
Any ideas what went wrong?
- Web Browser: Chrome
- Local OS: Ubuntu
- Remote OS: MacOS
- Remote Architecture: x86_64
code-server --version
: v3.4.1