theia: Vscode plugin does not work in theia

Hello. I have vscode plugin with custom editor. Custom editor has iframe in it. iframe loads local resources from this plugin. Plugin works fine in vscode but it does not work in theia. I get errors like: GET http://794a321d-e320-4e7d-ae32-fc4225828d18.webview.localhost:3000/webview/theia-resource/path/to/plugin/myCode.js net::ERR_ABORTED 404 (Not Found)

  • Operating System: Windows 10
  • Theia Version: 1.16

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 23 (11 by maintainers)

Most upvoted comments

@msujew yeah i figured that already. just wanted to include it for a fuller picture.

@rbbl-dev As far as I know, Webviews not working when accessing Theia through an IP address is expected. Theia serves them using subdomains, which aren’t available on IP based URLs. See also this discussion