question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Hosted Che] Webviews not working correctly

See original GitHub issue

Describe the bug

My environment has problems viewing pages containing webviews. When I start the workspace, the welcome page is not shown correctly. Even when reloading the page, I still get an error. The problem is visible also when I install some plugin using webviews and I try to use that. (see pictures sections for gifs). I tried with Google Chrome v. 81 and 84, both “normal” and incognito window. I was not able to reproduce with Firefox v. 78 (both normal and incognito). I tried different users on different clusters (2, 2a). I tried to clear cache, restart the browser, restart the whole PC - the issue is still the same.

Che version

  • latest 7.16.0
  • nightly
  • other: please specify

Steps to reproduce

  1. Log in to che.openshift.io
  2. Click on one of workspaces examples.
  3. Wait for workspace to start.
  4. Wait for welcome page (Eclipse Che tab). (for testing the plugin using webviews:)
  5. Install vscode-didact plugin.
  6. Restart workspace to enable the plugin.
  7. Open file tree.
  8. At the bottom, click DIDACT TUTORIALS -> Didact
  9. Click on play icon next to Didact Demo.

Expected behavior

Web pages should work correctly.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Welcome page reload don’t fix the problem captured

Plugin using webviews not working

plugin3

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don’t know Hosted Che

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify Hosted Che

Eclipse Che Logs

When trying to reload the page, those logs appear in console and network tab: Screenshot from 2020-07-23 15-03-05

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
ibuziukcommented, Oct 13, 2020

@sunix for now I just document it to the Troubleshooting instructions - https://github.com/eclipse/che-docs/pull/1641

1reaction
ibuziukcommented, Aug 21, 2020

The sso incident for the iframe issue has been created. Will update the issue once there will be updates from the sso team

Read more comments on GitHub >

github_iconTop Results From Across the Web

Che Theia Web View doesn't work properly when a plugin is ...
Describe the bug Che Theia Web View doesn't work properly when a plugin is running in its own sidecar. Steps to reproduce Start...
Read more >
Android App development - WebView is not working
Android allows content of a URL to be displayed within an application using WebView. However, for some reason it's not working for me....
Read more >
Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
When Red Hat CodeReady Workspaces is deployed in a single-host mode, Webview content is loaded through the same origin as the main Che-Theia...
Read more >
WebView click/touch events not processed correctly when ...
for a given WebView, that WebView's clicks will fail to be processed correctly. Consider the following layout:
Read more >
Working with WebViews in Android
Note: By default, Android doesn't support loading http:// pages from a WebView. To fix the issue, you can either force load the website...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found