Spectrum is now read-only. Learn more about the decision in our official announcement.


Eclipse Theia - Cloud & Desktop IDE


Using vscode:extension/MS-SarifVSCode.sarif-viewer in local docker fails

January 15, 2020 at 1:31pm

Using vscode:extension/MS-SarifVSCode.sarif-viewer in local docker fails

January 15, 2020 at 1:31pm
Hi I want to test vscode:extension/MS-SarifVSCode.sarif-viewer in a local docker instance of Theia. It's working on gitpod and VSCode but for Theia it says "server adress could not be found" for a webview. Might this be related to me not accessing theia over https?
Show previous messages

January 17, 2020 at 2:00am
request URL looks bogus, hostname is %7b%7Blocalhost%7B%7B, please remove {{ and }}, they are for placeholders

January 17, 2020 at 9:03am
I see! So I changed the endpoint to THEIA_WEBVIEW_EXTERNAL_ENDPOINT=localhost and I get "Not Found The requested URL was not found on this server." in the extension view. I started Theia with "--hostname=". I guess the url cannot be found since now the webview and Theia are running on different hosts? (localhost vs
So I guess to get this working, I need to get Theia running on localhost, right? Any ideas why localhost:3000 is not working at all?
And thanks a lot for your help!
Failed to enable webview caching: ReferenceError: caches is not defined
it would mean that you don't run in secure context, i.e. not on localhost or https
there one can access it on localhost
If I set both Theia and webview endpoint to I get the following view:
It's communicating to might the port be the problem here?
If I set the webview endpoint to {{hostname}} I get an empty view and the following resposone:
Port and ip are the same as for Theia here...
Still I do not get why I cannot run theia on

January 20, 2020 at 1:42am
Surprise that it all tries to download anything on http, web caches and service workers should not work on http without localhost
Sorry, I cannot really help without running it, i would need to debug and see what is going wrong.
I would suspect that you should not even see another service worker in devtools, since you are not running over https or on localhost.

January 20, 2020 at 8:35am
I would highly appreciate your help here. I'm clueless unfortunately.
Show more messages