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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by nemothekid
, 1 year ago
org.newsclub.net.unix.AFUNIXSocketException: Connection refused (socket: /var/run/docker.sock)
via GitHub by frankscholten
, 1 year ago
org.newsclub.net.unix.AFUNIXSocketException: No such file or directory (socket: /var/run/docker.sock)
via Google Groups by as_ku...@yahoo.com (JIRA), 11 months ago
org.newsclub.net.unix.AFUNIXSocketException: Permission denied (socket: /run/docker.sock)
via GitHub by rohitkadam19
, 2 years ago
org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
javax.ws.rs.ProcessingException: 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 com.github.dockerjava.jaxrs.ApacheUnixSocket.connect(ApacheUnixSocket.java:64)
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 com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)
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.client.JerseyInvocation.invoke(JerseyInvocation.java:701)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:417)
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.containersol.minimesos.docker.DockerContainersUtil.getContainers(DockerContainersUtil.java:48)
at com.containersol.minimesos.mesos.MesosClusterContainersFactory.loadRunningCluster(MesosClusterContainersFactory.java:60)
at com.containersol.minimesos.cluster.MesosCluster.(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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.