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

After launching an application the preview URL widget does not appear #15173

Closed
4 of 23 tasks
musienko-maxim opened this issue Nov 12, 2019 · 7 comments
Closed
4 of 23 tasks
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.

Comments

@musienko-maxim
Copy link
Contributor

musienko-maxim commented Nov 12, 2019

Describe the bug

  • After clicking on the Open Link notification the Preview URL app. does not open

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

Expected behavior

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

openlink-bug

Installation method

  • chectl
  • che-operator
  • minishift-addon
  • I don't know

Environment

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

Additional context

@musienko-maxim musienko-maxim added the kind/bug Outline of a bug - must adhere to the bug report template. label Nov 12, 2019
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Nov 12, 2019
@musienko-maxim
Copy link
Contributor Author

Looks like it depend on latest changes from CHE-THEIA :
The theia log exception:

root ERROR [hosted-plugin: 51] Promise rejection not handled in one second: Error: Unknown actor CheTaskMain
With stack trace: Error: Unknown actor CheTaskMain
    at RPCProtocolImpl.doInvokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:249:19)
    at RPCProtocolImpl.invokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:240:41)
    at RPCProtocolImpl.receiveRequest (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:204:31)
    at RPCProtocolImpl.receiveOneMessage (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:173:22)
    at /home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:64:109
    at /home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:280:17
    at /home/theia/node_modules/@theia/core/lib/common/event.js:162:33
    at CallbackList.invoke (/home/theia/node_modules/@theia/core/lib/common/event.js:177:39)
    at Emitter.fire (/home/theia/node_modules/@theia/core/lib/common/event.js:265:29)
    at ChildProcess.<anonymous> (/home/theia/node_modules/@theia/plugin-ext/lib/hosted/node/hosted-plugin-process.js:121:21)
root INFO [nsfw-watcher: 126] Started watching: /projects/petclinic/result-build.txt
root INFO [hosted-plugin: 143] redirecting connections from 127.0.0.1:13131 to localhost:8080
root INFO [hosted-plugin: 143] The port 8080 is now listening on interface 0.0.0.0
root ERROR [hosted-plugin: 51] Promise rejection not handled in one second: Error: Unknown actor MessageRegistryMain
With stack trace: Error: Unknown actor MessageRegistryMain
    at RPCProtocolImpl.doInvokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:249:19)
    at RPCProtocolImpl.invokeHandler (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:240:41)
    at RPCProtocolImpl.receiveRequest (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:204:31)
    at RPCProtocolImpl.receiveOneMessage (/home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:173:22)
    at /home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:64:109
    at /home/theia/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:280:17
    at /home/theia/node_modules/@theia/core/lib/common/event.js:162:33
    at CallbackList.invoke (/home/theia/node_modules/@theia/core/lib/common/event.js:177:39)
    at Emitter.fire (/home/theia/node_modules/@theia/core/lib/common/event.js:265:29)
    at ChildProcess.<anonymous> (/home/theia/node_modules/@theia/plugin-ext/lib/hosted/node/hosted-plugin-process.js:121:21)
root ERROR [hosted-plugin: 143] Promise rejection not handled in one second: TypeError: e.startsWith is not a function
With stack trace: TypeError: e.startsWith is not a function
    at e.canHandle (http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:957753)
    at http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:956717
    at http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:1038078
    at http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:1037680
    at Object.next (http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:1037785)
    at a (http://serverju33ehde-theia-ide4ht-server-3100.192.168.99.226.nip.io/bundle.js:12:1036531)

@RomanNikitenko
Copy link
Member

@musienko-maxim
looks like it's duplicate #15172

wdyt?

@musienko-maxim
Copy link
Contributor Author

yes, i've closed #15172

@vparfonov vparfonov added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 12, 2019
@vparfonov
Copy link
Contributor

Will take to the current sprint as unplanned and try to fix it

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Nov 13, 2019

We use plugin API and execution of the command to open preview panel.
I investigated the issue, the regression was caused by the changes.
Fixed in theia repo.

@l0rd l0rd mentioned this issue Nov 13, 2019
23 tasks
@l0rd l0rd added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed severity/P1 Has a major impact to usage or development of the system. labels Nov 14, 2019
@l0rd
Copy link
Contributor

l0rd commented Nov 14, 2019

Set as a blocker because this issue affects our Happy Path PR check

@musienko-maxim
Copy link
Contributor Author

Checked on minikube infra manually the bug is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
Development

No branches or pull requests

5 participants