javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: Connection refused (socket: /var/run/docker.sock)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 379#232523993
    via GitHub by nemothekid
    ,
    • javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: Connection refused (socket: /var/run/docker.sock) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:488) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:705) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:701) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:417) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:313) at com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:42) at com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:16) at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) at com.containersol.minimesos.docker.DockerContainersUtil.getContainers(DockerContainersUtil.java:48) at com.containersol.minimesos.mesos.MesosClusterContainersFactory.loadRunningCluster(MesosClusterContainersFactory.java:60) at com.containersol.minimesos.cluster.MesosCluster.<init>(MesosCluster.java:83) at com.containersol.minimesos.cluster.MesosCluster.loadCluster(MesosCluster.java:71) at com.containersol.minimesos.cluster.ClusterRepository.loadCluster(ClusterRepository.java:31) at com.containersol.minimesos.main.CommandUp.getCluster(CommandUp.java:159) at com.containersol.minimesos.main.CommandUp.execute(CommandUp.java:92) at com.containersol.minimesos.main.Main.run(Main.java:125) at com.containersol.minimesos.main.Main.main(Main.java:56) Caused by: org.newsclub.net.unix.AFUNIXSocketException: Connection refused (socket: /var/run/docker.sock) at org.newsclub.net.unix.NativeUnixSocket.connect(Native Method) at org.newsclub.net.unix.AFUNIXSocketImpl.connect(AFUNIXSocketImpl.java:134) at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:97) at com.github.dockerjava.jaxrs.ApacheUnixSocket.connect(ApacheUnixSocket.java:64) at com.github.dockerjava.jaxrs.UnixConnectionSocketFactory.connectSocket(UnixConnectionSocketFactory.java:73) at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441) ... 22 more
    No Bugmate found.