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

Could not start eclipse:che 6.7.0 successfully #13195

Closed
bryanxtong opened this issue Apr 22, 2019 · 1 comment
Closed

Could not start eclipse:che 6.7.0 successfully #13195

bryanxtong opened this issue Apr 22, 2019 · 1 comment

Comments

@bryanxtong
Copy link

bryanxtong commented Apr 22, 2019

Description

I failed to start eclipse che 6.7.0 after a lot of attempts and I have not used newer version just because that the jboss/keycloak-openshift:3.4.0.final has problems which I raised another issue WFLYDR0006: Directory /opt/jboss/keycloak/standalone/tmp is not writable

Reproduction Steps

use the following command to start and ignore network check and the start process hangs for a lot of time

[root@bigdata data]# docker run -it --network=networkaccess -e CHE_MULTIUSER=true -v /var/run/docker.sock:/var/run/docker.sock -v /data/.che-multiuser:/data eclipse/che:6.7.0 start --fast

INFO: (che cli): 6.7.0 - using docker 17.05.0-ce / native
INFO: (che config): Generating che configuration...
INFO: (che config): Customizing docker-compose for running in a container
INFO: (che start): Starting containers...
INFO: (che start): Services booting...
INFO: (che start): Server logs at "docker logs -f che"

OS and version:
This red hat instance is launched by openstack, ip: 192.168.0.14 elastic ip: 10.157.166.142
I use a new network which is not default just because the mtu issue which I need to reset to access to internet. and if I didnot set this, It produce errors for “info --network”.

[
    {
        "Name": "networkaccess",
        "Id": "709de427a5f51942f282fe5161169be6ecb193ede7d7c2e667b5229063ad2373",
        "Created": "2019-04-17T11:38:15.165515341+03:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": {},
            "Config": [
                {
                    "Subnet": "172.23.0.0/16",
                    "Gateway": "172.23.0.1"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "Containers": {},
        "Options": {
            "com.docker.network.driver.mtu": "1450"
        },
        "Labels": {}
    }
]

[root@bigdata data]# uname -a
Linux bigdata 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

Diagnostics:

use following command and It will hang and give the following output
[root@bigdata data]# docker run -it --network=networkaccess -e CHE_MULTIUSER=true -v /var/run/docker.sock:/var/run/docker.sock -v /data/.che-multiuser:/data eclipse/che:6.7.0 start --trace

+++ [[ true = \t\r\u\e ]]
+++ is_log
+++ '[' true = true ']'
+++ return 0
+++ echo '/usr/bin/curl --noproxy' '192.168.0.14 "-I' -k 192.168.0.14:8080/api/system/state -s -o /dev/null --write-out '%{http_code}"'
++++ which curl
+++ /usr/bin/curl --noproxy 192.168.0.14 -I -k 192.168.0.14:8080/api/system/state -s -o /dev/null --write-out '%{http_code}'

docker logs -f che

2019-04-22 06:01:00,644[ost-startStop-1]  [INFO ] [a.i.s.i.LocalInstallerRegistry 70]   - Latest version of installer 'org.eclipse.che.test.ls:1.0.0' is already in the registry.
2019-04-22 06:01:00,880[ost-startStop-1]  [INFO ] [.i.d.l.p.LocalProjectsMigrator 49]   - Starting migration of workspace project files
2019-04-22 06:01:00,917[ost-startStop-1]  [INFO ] [o.e.c.m.k.s.KeycloakSettings 85]     - Retrieving OpenId configuration from endpoint: http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration
2019-04-22 06:09:58,196[ost-startStop-1]  [INFO ] [.WorkspaceNextObjectsRetriever 73]   - Workspace.Next is disabled - Feature API endpoint property 'che.workspace.feature.api' is not configured
2019-04-22 06:09:58,212[ost-startStop-1]  [INFO ] [o.e.c.m.k.s.KeycloakSettings 85]     - Retrieving OpenId configuration from endpoint: http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration

[root@bigdata data]# docker run -it --network=networkaccess -e CHE_MULTIUSER=true -v /var/run/docker.sock:/var/run/docker.sock -v /data/.che-multiuser:/data eclipse/che:6.7.0 info --network

INFO: (che cli): 6.7.0 - using docker 17.05.0-ce / native
WARN: Newer version '7.0.0-beta-3.0' available
INFO:
INFO: ---------------------------------------
INFO: --------   CONNECTIVITY TEST   --------
INFO: ---------------------------------------
INFO: (che network): eclipse/che-ip:6.7.0: 192.168.0.14
INFO: (che network): Browser => Workspace Agent (localhost): Connection failed
INFO: (che network): Browser => Workspace Agent (192.168.0.14): Connection succeeded
INFO: (che network): Server  => Workspace Agent (External IP): Connection succeeded
INFO: (che network): Server  => Workspace Agent (Internal IP): Connection succeeded

[root@bigdata data]# netstat -tuplen

tcp6       0      0 :::8080                 :::*                    LISTEN      0          105006451  7904/docker-proxy
tcp6       0      0 ::1:9168                :::*                    LISTEN      994        104165404  9753/puma 3.12.0 (t
tcp6       0      0 :::22                   :::*                    LISTEN      0          37408      1680/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      0          28150      1334/master
tcp6       0      0 :::5050                 :::*                    LISTEN      0          105005141  7359/docker-proxy

[root@bigdata data]# docker exec -it che curl -f http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration command works.

Exception logs after some time and it appeared 83 times.

46) Error injecting constructor, java.lang.RuntimeException: Exception while retrieving OpenId configuration from endpoint: http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.<init>(KeycloakSettings.java:64)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.class(KeycloakSettings.java:49)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakSettings
    for the 1st parameter of org.eclipse.che.multiuser.keycloak.server.dao.KeycloakProfileDao.<init>(KeycloakProfileDao.java:46)
  while locating org.eclipse.che.multiuser.keycloak.server.dao.KeycloakProfileDao
  while locating org.eclipse.che.api.user.server.spi.ProfileDao
    for the 2nd parameter of org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager.<init>(KeycloakUserManager.java:56)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager.class(KeycloakUserManager.java:56)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager
  while locating org.eclipse.che.multiuser.api.account.personal.PersonalAccountUserManager
  while locating org.eclipse.che.api.user.server.UserManager
    for the 2nd parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.<init>(MachineTokenRegistry.java:52)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.class(MachineTokenRegistry.java:52)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry
    for the 1st parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.<init>(MachineTokenProviderImpl.java:34)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.class(MachineTokenProviderImpl.java:34)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl
  while locating org.eclipse.che.api.workspace.server.token.MachineTokenProvider
    for the 1st parameter of org.eclipse.che.api.workspace.server.spi.provision.env.MachineTokenEnvVarProvider.<init>(MachineTokenEnvVarProvider.java:33)
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.MachineTokenEnvVarProvider
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarProvider annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=15, type=MULTIBINDER, keyType=)
  at org.eclipse.che.api.deploy.WsMasterModule.configure(WsMasterModule.java:163) (via modules: org.eclipse.che.api.deploy.WsMasterModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
  while locating java.util.Set<org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarProvider>
    for the 1st parameter of org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarEnvironmentProvisioner.<init>(EnvVarEnvironmentProvisioner.java:31)
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarEnvironmentProvisioner
  while locating org.eclipse.che.api.workspace.server.spi.provision.InternalEnvironmentProvisioner annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=10, type=MULTIBINDER, keyType=)
  at org.eclipse.che.api.deploy.WsMasterModule.configure(WsMasterModule.java:157) (via modules: org.eclipse.che.api.deploy.WsMasterModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
  while locating java.util.Set<org.eclipse.che.api.workspace.server.spi.provision.InternalEnvironmentProvisioner>
    for the 7th parameter of org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeInfrastructure.<init>(DockerRuntimeInfrastructure.java:57)
  while locating org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeInfrastructure
  while locating org.eclipse.che.api.workspace.server.spi.RuntimeInfrastructure
    for the 3rd parameter of org.eclipse.che.api.workspace.server.WorkspaceRuntimes.<init>(WorkspaceRuntimes.java:151)
  at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.class(WorkspaceRuntimes.java:91)
  while locating org.eclipse.che.api.workspace.server.WorkspaceRuntimes
    for the 1st parameter of org.eclipse.che.api.workspace.server.WorkspaceValidator.<init>(WorkspaceValidator.java:55)
  at org.eclipse.che.api.workspace.server.WorkspaceValidator.class(WorkspaceValidator.java:46)
  while locating org.eclipse.che.api.workspace.server.WorkspaceValidator
    for field at org.eclipse.che.api.workspace.server.stack.StackValidator.wsValidator(StackValidator.java:28)
  at org.eclipse.che.api.workspace.server.stack.StackValidator.class(StackValidator.java:28)
  while locating org.eclipse.che.api.workspace.server.stack.StackValidator
Caused by: java.lang.RuntimeException: Exception while retrieving OpenId configuration from endpoint: http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration
        at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.<init>(KeycloakSettings.java:98)
        at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings$$FastClassByGuice$$e0d0786b.newInstance(<generated>)
        at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)
        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:120)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:99)
        at org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)
        at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
        at org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:210)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:706)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
        at java.net.URL.openStream(URL.java:1045)
        at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.<init>(KeycloakSettings.java:91)
        ... 138 more

47) Error injecting constructor, java.lang.RuntimeException: Exception while retrieving OpenId configuration from endpoint: http://192.168.0.14:5050/auth/realms/che/.well-known/openid-configuration
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.<init>(KeycloakSettings.java:64)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.class(KeycloakSettings.java:49)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakSettings
    for the 1st parameter of org.eclipse.che.multiuser.keycloak.server.dao.KeycloakProfileDao.<init>(KeycloakProfileDao.java:46)
  while locating org.eclipse.che.multiuser.keycloak.server.dao.KeycloakProfileDao
  while locating org.eclipse.che.api.user.server.spi.ProfileDao
    for the 2nd parameter of org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager.<init>(KeycloakUserManager.java:56)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager.class(KeycloakUserManager.java:56)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakUserManager
  while locating org.eclipse.che.multiuser.api.account.personal.PersonalAccountUserManager
  while locating org.eclipse.che.api.user.server.UserManager
    for the 2nd parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.<init>(MachineTokenRegistry.java:52)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.class(MachineTokenRegistry.java:52)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry
    for the 1st parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.<init>(MachineTokenProviderImpl.java:34)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.class(MachineTokenProviderImpl.java:34)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl
Caused by: java.lang.RuntimeException (same stack trace as error #20)
48) Invocation error of method void org.eclipse.che.multiuser.machine.authentication.server.signature.SignatureKeyManager.loadKeyPair() on org.eclipse.che.multiuser.machine.authentication.server.signature.SignatureKeyManager@230def23
  at org.eclipse.che.multiuser.machine.authentication.server.MachineAuthModule.configure(MachineAuthModule.java:37) (via modules: org.eclipse.che.api.deploy.WsMasterModule -> org.eclipse.che.multiuser.machine.authentication.server.MachineAuthModule)
  while locating org.eclipse.che.multiuser.machine.authentication.server.signature.SignatureKeyManager
    for the 1st parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.<init>(MachineTokenRegistry.java:52)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry.class(MachineTokenRegistry.java:52)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenRegistry
    for the 1st parameter of org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.<init>(MachineTokenProviderImpl.java:34)
  at org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl.class(MachineTokenProviderImpl.java:34)
  while locating org.eclipse.che.multiuser.machine.authentication.server.MachineTokenProviderImpl
  while locating org.eclipse.che.api.workspace.server.token.MachineTokenProvider
    for the 1st parameter of org.eclipse.che.api.workspace.server.spi.provision.env.MachineTokenEnvVarProvider.<init>(MachineTokenEnvVarProvider.java:33)
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.MachineTokenEnvVarProvider
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarProvider annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=15, type=MULTIBINDER, keyType=)
  at org.eclipse.che.api.deploy.WsMasterModule.configure(WsMasterModule.java:163) (via modules: org.eclipse.che.api.deploy.WsMasterModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
  while locating java.util.Set<org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarProvider>
    for the 1st parameter of org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarEnvironmentProvisioner.<init>(EnvVarEnvironmentProvisioner.java:31)
  while locating org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarEnvironmentProvisioner
  while locating org.eclipse.che.api.workspace.server.spi.provision.InternalEnvironmentProvisioner annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=10, type=MULTIBINDER, keyType=)
  at org.eclipse.che.api.deploy.WsMasterModule.configure(WsMasterModule.java:157) (via modules: org.eclipse.che.api.deploy.WsMasterModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
  while locating java.util.Set<org.eclipse.che.api.workspace.server.spi.provision.InternalEnvironmentProvisioner>
    for the 7th parameter of org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeInfrastructure.<init>(DockerRuntimeInfrastructure.java:57)
  while locating org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeInfrastructure
  while locating org.eclipse.che.api.workspace.server.spi.RuntimeInfrastructure
    for the 3rd parameter of org.eclipse.che.api.workspace.server.WorkspaceRuntimes.<init>(WorkspaceRuntimes.java:151)
  at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.class(WorkspaceRuntimes.java:91)
  while locating org.eclipse.che.api.workspace.server.WorkspaceRuntimes
    for the 1st parameter of org.eclipse.che.api.workspace.server.WorkspaceValidator.<init>(WorkspaceValidator.java:55)
  at org.eclipse.che.api.workspace.server.WorkspaceValidator.class(WorkspaceValidator.java:46)
  while locating org.eclipse.che.api.workspace.server.WorkspaceValidator
    for the 1st parameter of org.eclipse.che.api.factory.server.impl.FactoryCreateValidatorImpl.<init>(FactoryCreateValidatorImpl.java:31)
  at org.eclipse.che.api.factory.server.impl.FactoryCreateValidatorImpl.class(FactoryCreateValidatorImpl.java:31)
  while locating org.eclipse.che.api.factory.server.impl.FactoryCreateValidatorImpl
  while locating org.eclipse.che.api.factory.server.FactoryCreateValidator
Caused by: javax.persistence.RollbackException: Transaction "rolled back" because transaction was set to RollbackOnly.
        at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:143)
        at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:75)
        at org.eclipse.che.multiuser.machine.authentication.server.signature.SignatureKeyManager.loadKeyPair(SignatureKeyManager.java:90)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.che.inject.lifecycle.InitModule$1$1.afterInjection(InitModule.java:46)
        at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:119)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:121)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
        at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
        at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
        at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
        at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)
        at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:99)
        at org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)
        at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
        at org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)

@ibuziuk
Copy link
Member

ibuziuk commented Jun 4, 2019

Docker is a deprecated platform for Che7. Please, try Che 7 on k8s or OpenShift via chectl - https://github.com/che-incubator/chectl

@ibuziuk ibuziuk closed this as completed Jun 4, 2019
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