theia icon indicating copy to clipboard operation
theia copied to clipboard

blockchain-vscode-extension : Welcome page and tutorials do not render correctly

Open christinesu12 opened this issue 4 years ago • 6 comments

IBM-Blockchain/blockchain-vscode-extension - Welcome page and tutorials do not render correctly

blockchain-vscode-extension : Welcome page and tutorials do not render correctly theia-blockchain-home theia-blockchain-pre

christinesu12 avatar Sep 23 '20 02:09 christinesu12

@christinesu12 thank you for the issue, in the future please respect the issue template and provide as much detail as possible so the project is able to better help you.

Do you mind updating the issue with the following?:

  • link to the actual extension
  • steps to reproduce the bug (browser or electron example application?)
  • include any console logs in the issue (if the view fails to render, it is likely that some output is generated in the console)

I suspect it may have to do with configuring webviews, and providing additional information will help with the investigation.

vince-fugnitto avatar Sep 23 '20 12:09 vince-fugnitto

1.extension - https://github.com/IBM-Blockchain/blockchain-vscode-extension/releases/download/v2.0.0-beta.7/ibm-blockchain-platform-2.0.0-beta.7.vsix https://open-vsx.org/api/vscode/markdown-language-features/1.39.1/file/vscode.markdown-language-features-1.39.1.vsix https://github.com/IBM/vscode-ibmcloud-account/releases/download/v1.0.2/ibmcloud-account-1.0.2.vsix 2.browser 3. The server IP address of 7310ff67-f4be-44b9-b8b1-5e885e582d32.webview.10.78.153.145 cannot be found.

christinesu12 avatar Sep 24 '20 01:09 christinesu12

I don't think it is a bug in Theia. I looks like the point 2 from a link referenced by @vince-fugnitto is not satisfied.

akosyakov avatar Sep 24 '20 04:09 akosyakov

This happens to my vscode extension / plugin as well. In webview panel, giving error like: bd7f319d-a892-49fc-8473-4a8a4e1e38d0.webview.10.236.xxx.xxx’s server IP address could not be found.

I build theia in docker and using docker file in theia-app. This plugin works fine on GitPod.

Techevan avatar Jan 20 '21 08:01 Techevan

This happens to my vscode extension / plugin as well. In webview panel, giving error like: bd7f319d-a892-49fc-8473-4a8a4e1e38d0.webview.10.236.xxx.xxx’s server IP address could not be found.

I build theia in docker and using docker file in theia-app. This plugin works fine on GitPod.

I also encountered this problem in the browser, but using localhost is normal, how do you solve it?

tincopper avatar Jul 02 '21 07:07 tincopper

This happens to my vscode extension / plugin as well. In webview panel, giving error like:我的 vscode 扩展/插件也会发生这种情况。在 webview 面板中,给出如下错误: bd7f319d-a892-49fc-8473-4a8a4e1e38d0.webview.10.236.xxx.xxx’s server IP address could not be found. 找不到bd7f319d-a892-49fc-8473-4a8a4e1e38d0.webview.10.236.xxx.xxx的服务器IP地址。 I build theia in docker and using docker file in theia-app. This plugin works fine on GitPod.我在 docker 中构建 theia 并在 theia-app 中使用 docker 文件。这个插件在 GitPod 上运行良好。

I also encountered this problem in the browser, but using localhost is normal, how do you solve it?我在浏览器中也遇到了这个问题,但是使用localhost就正常了,请问怎么解决呢?

+1

luxingxiao avatar Apr 17 '24 09:04 luxingxiao

@luxingxiao Are you using localhost, or some IP address? Theia's webviews don't work on plain IPs, due to how we use subdomains (which aren't supported with plain IPs).

I would close this issue, as the webviews not working when serving Theia on a plain IP address is expected. Please use a service such as nip.io to get a domain name for your IP.

msujew avatar May 18 '24 19:05 msujew