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

Application preview URL becomes unavailable #13362

Closed
musienko-maxim opened this issue May 17, 2019 · 2 comments
Closed

Application preview URL becomes unavailable #13362

musienko-maxim opened this issue May 17, 2019 · 2 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@musienko-maxim
Copy link
Contributor

musienko-maxim commented May 17, 2019

Description

Preconditions:
*Clone ecllipse-che project and run Openshift cluster locally (go to the just cloned project) and launch command like: [your_path]/che/deploy/openshift/ocp.sh --run-ocp --deploy-che -p=che

Reproduction Steps

  • We should create workspace with chectl and dev. file. Download chectl tool binary file with comannd: https://github.com/che-incubator/chectl/releases/latest/download/chectl-linux

  • Export 2 variables:
    export CHE_WORKSPACE_JAVA__OPTIONS="-Xmx1500m"
    export CHE_WORKSPACE_MAVEN__OPTIONS="-Xmx1500m"
    I need like workaround for the known bug: Unable to set JAVA_OPTS or MAVEN_OPTS in kubernetes component of devfile #13340

  • Save the DevFile (in attachment), and create workspace using command like ./chectl-linux workspace:start --devfile=devfile.yaml

  • Consume just created link after creating the wokkspace and launch terminal for the petclinic container. (Terminal -> Open Terminal in specific container -> select petclinic-server).

  • Run command in the terminal: java -jar /spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar --spring.profiles.active=mysql. for avoiding problem with the issue: tasks: output of a command is not rendered correctly che-theia#192

  • Confirm notification with label A new process is now listening on port 8080 but this port is not exposed in the workspace as a server.
    Would you want to add a redirect for this port so it becomes available ?
    open link.

  • Go to app with link do some changes, for instance add a new owner in the application
    Expected results: The application should works and should be avaliable
    Actual results: We get Application is not available page. See also screencast with steps to reproduce

  • Launch command in the terminal for avoiding issue:
    OS and version: Fedora 29, Docker 17, with enabled userland-proxy

Diagnostics:

@sleshchenko
Copy link
Member

@benoitf Do you think it's a bug or expected behavior? If it's expected then can we improve UX, like show a pop up that your port is not proxied anymore?

@slemeur slemeur added kind/bug Outline of a bug - must adhere to the bug report template. target/che7 labels Jun 27, 2019
@metlos
Copy link
Contributor

metlos commented Jun 29, 2019

Note that this is also reproducible on minishift.

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.
Projects
None yet
Development

No branches or pull requests

4 participants