Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webviews are not shown when running the browser app in the cloud #364

Open
chroberino opened this issue Jun 12, 2024 · 1 comment
Open

Comments

@chroberino
Copy link

chroberino commented Jun 12, 2024

Bug Description:

I am running a browser app of Theia blueprint in Google Cloud (see "Additional Information" section below for more details).
Webview contents are not rendered here, instead I can see the only messages like:

Hmm. We’re having trouble finding that site.
We can’t connect to the server at 4abb51cd-e31c-5697-9c6e-2c7bc6783e68.webview.mydomain.tld

image

(As always, of course, it did work perfectly when running the browser app on my localhost.)

Steps to Reproduce:

  1. Build browser app using an unmodified browser.Dockerfile and deploy output artefacts to cloud hosting
  2. Open URL of cloud-hosted Theia browser app
  3. Install "Jira and Bitbucket (Atlassian Labs)" extension (atlassian.atlascode)
  4. Open command palette and pick "Atlassian: Open Welcome Page"
    image

Additional Information

  • Theia Version: 1.49.100 (reported by the "About" box)
  • Platform: Google Cloud
  • Cluster: Self-managed Kubernetes cluster
  • Pod info: node:20-bullseye-slim | X86/64 | Balanced persistent disk
  • Network info: google cloud dns
@jfaltermeier
Copy link
Contributor

Hi, by default Theia exposes the webviews on a subdomain like this webview-id.webview.your-theia-domain. I think you have to make sure that these kinds of subdomains are also exposed in your kubernetes ingress resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants