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.

Error: Failed to start the workspace: "Unknown error"

See original GitHub issue

Description

Unable to create workspace on che/dashboard. Encountering error : Error: Failed to start the workspace: “Unknown error”

Reproduction Steps

  • Built image from https://github.com/eclipse/che/blob/master/dockerfiles/che/Dockerfile
  • docker run -e CHE_HOST=x.x.x.x
    –name che
    -v /var/run/docker.sock:/var/run/docker.sock
    -v /home/user/che/lib:/home/user/che/lib-copy
    -v /home/user/che/workspaces:/home/user/che/workspaces
    -v /home/user/che/storage:/home/user/che/storage
    eclipse/che-server
  • Accessed Dashboard and Tried creating workspace (Single Machine + Blank)

OS and version:
arch: ppc64le os: ubuntu:16.04 image build environment: docker container

Diagnostics/Logs:

2019-04-22 09:31:36,154[nio-8080-exec-9]  [ERROR] [o.a.c.c.C.[.[.[/api].[default] 236]  - Servlet.service() for servlet [default] in context with path [/api] threw exception [java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.che.infrastructure.docker.client.CLibraryFactory] with root cause
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.che.infrastructure.docker.client.CLibraryFactory
        at org.eclipse.che.infrastructure.docker.client.connection.UnixSocketConnection.connect(UnixSocketConnection.java:66)
        at org.eclipse.che.infrastructure.docker.client.connection.UnixSocketConnection.request(UnixSocketConnection.java:49)
        at org.eclipse.che.infrastructure.docker.client.connection.DockerConnection.request(DockerConnection.java:92)
        at org.eclipse.che.infrastructure.docker.client.DockerConnector.listContainers(DockerConnector.java:284)
        at org.eclipse.che.workspace.infrastructure.docker.container.DockerContainers.listNonStoppedContainers(DockerContainers.java:74)
        at org.eclipse.che.workspace.infrastructure.docker.container.DockerContainers.find(DockerContainers.java:47)
        at org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeContext.getRuntime(DockerRuntimeContext.java:84)
        at org.eclipse.che.workspace.infrastructure.docker.DockerRuntimeContext.getRuntime(DockerRuntimeContext.java:38)
        at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.startAsync(WorkspaceRuntimes.java:370)
        at org.eclipse.che.api.workspace.server.WorkspaceManager.startAsync(WorkspaceManager.java:377)
        at org.eclipse.che.api.workspace.server.WorkspaceManager.startWorkspace(WorkspaceManager.java:307)
        at org.eclipse.che.api.workspace.server.WorkspaceService.startById(WorkspaceService.java:349)
        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.everrest.core.impl.method.DefaultMethodInvoker.invokeMethod(DefaultMethodInvoker.java:140)
        at org.everrest.core.impl.method.DefaultMethodInvoker.invokeMethod(DefaultMethodInvoker.java:60)
        at org.everrest.core.impl.RequestDispatcher.doInvokeResource(RequestDispatcher.java:306)
        at org.everrest.core.impl.RequestDispatcher.invokeSubResourceMethod(RequestDispatcher.java:297)
        at org.everrest.core.impl.RequestDispatcher.dispatch(RequestDispatcher.java:233)
        at org.everrest.core.impl.RequestDispatcher.dispatch(RequestDispatcher.java:128)
        at org.everrest.core.impl.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:62)
        at org.everrest.core.impl.EverrestProcessor.process(EverrestProcessor.java:120)
        at org.everrest.core.servlet.EverrestServlet.service(EverrestServlet.java:61)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:290)
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:280)
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:89)
        at org.eclipse.che.api.local.filters.EnvironmentInitializationFilter.doFilter(EnvironmentInitializationFilter.java:64)
        at org.eclipse.che.commons.logback.filter.RequestIdLoggerFilter.doFilter(RequestIdLoggerFilter.java:50)
        at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
        at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
        at org.eclipse.che.api.core.cors.CheCorsFilter.doFilter(CheCorsFilter.java:58)
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
l0rdcommented, May 29, 2019

@lysannef I have started this doc. Of course I haven’t tested it and I may have missed one image so please let me know how it goes

0reactions
lysannefcommented, Jun 28, 2019

Hi @ l0rd , following the doc provided by you, we were able to resolve this issue and were able to validate the working of eclipse/che on ppc64le.

Thanks and closing the task for the same.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot issues accessing your WorkSpace from the ...
This error typically indicates that the WorkSpaces client can authenticate over port 443, but can't establish a connection over TCP port 4172.
Read more >
Unable to sign in to workspace: Unknown Error Occurred
Enter credentials > Starting Workspace > Launching Session > Unknown Error Occurred - we couldn't launched your workspace. Please try again.
Read more >
Error "Unknown Error" when trying to open Service after ...
This error can occur after applying a Template to the workspace that contains the 'Request Template' selected in the Service; or if a...
Read more >
New Build System Error - missingWorkspaceContext
Individual build tasks may have failed for unknown reasons. One possible cause is if there are too many (possibly zombie) processes; in this...
Read more >
npm start is throwing unknown error related to lite server
The issue was with port of lite-server settings. Few weeks back, I was running the app on default lite-server port, 3000 .
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