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

GitHub | nemothekid | 5 months ago
  1. 0

    GitHub comment 379#232523993

    GitHub | 5 months ago | nemothekid
    javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: Connection refused (socket: /var/run/docker.sock)
  2. 0

    Stacktrace when Docker socket is not passed to minimesos Docker image

    GitHub | 8 months ago | frankscholten
    javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: No such file or directory (socket: /var/run/docker.sock)
  3. 0

    gradle build fails at buildDockerImage task

    GitHub | 2 weeks ago | bilbo-the-hobbit
    org.newsclub.net.unix.AFUNIXSocketException: Aucun fichier ou dossier de ce type (socket: /run/docker.sock)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem loading the project/testing

    GitHub | 2 years ago | mosheeshel
    com.spotify.docker.client.DockerException: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: Permission denied (socket: /run/docker.sock)
  6. 0

    Using unix socket to access docker daemon

    GitHub | 10 months ago | mbaechler
    org.testcontainers.shaded.javax.ws.rs.ProcessingException: org.newsclub.net.unix.AFUNIXSocketException: No such file or directory (socket: /home/matthieu/code/james-gitsvn/server/protocols/jmap-integration-testing/:80)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.newsclub.net.unix.AFUNIXSocketException

      Connection refused (socket: /var/run/docker.sock)

      at org.newsclub.net.unix.NativeUnixSocket.connect()
    2. unix-socket-factory
      AFUNIXSocket.connect
      1. org.newsclub.net.unix.NativeUnixSocket.connect(Native Method)
      2. org.newsclub.net.unix.AFUNIXSocketImpl.connect(AFUNIXSocketImpl.java:134)
      3. org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:97)
      3 frames
    3. docker-java
      UnixConnectionSocketFactory.connectSocket
      1. com.github.dockerjava.jaxrs.ApacheUnixSocket.connect(ApacheUnixSocket.java:64)
      2. com.github.dockerjava.jaxrs.UnixConnectionSocketFactory.connectSocket(UnixConnectionSocketFactory.java:73)
      2 frames
    4. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
      2. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
      3. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
      4. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
      5. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
      6. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
      7. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
      8. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
      9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
      9 frames
    5. com.github.dockerjava
      ApacheConnector.apply
      1. com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:441)
      1 frame
    6. jersey-core-client
      JerseyInvocation$3.call
      1. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)
      2. org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:705)
      2 frames
    7. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
      4 frames
    8. jersey-core-client
      JerseyInvocation$Builder.get
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:701)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:417)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:313)
      3 frames
    9. docker-java
      AbstrDockerCmd.exec
      1. com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:42)
      2. com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:16)
      3. com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
      4. com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
      4 frames
    10. com.containersol.minimesos
      Main.main
      1. com.containersol.minimesos.docker.DockerContainersUtil.getContainers(DockerContainersUtil.java:48)
      2. com.containersol.minimesos.mesos.MesosClusterContainersFactory.loadRunningCluster(MesosClusterContainersFactory.java:60)
      3. com.containersol.minimesos.cluster.MesosCluster.<init>(MesosCluster.java:83)
      4. com.containersol.minimesos.cluster.MesosCluster.loadCluster(MesosCluster.java:71)
      5. com.containersol.minimesos.cluster.ClusterRepository.loadCluster(ClusterRepository.java:31)
      6. com.containersol.minimesos.main.CommandUp.getCluster(CommandUp.java:159)
      7. com.containersol.minimesos.main.CommandUp.execute(CommandUp.java:92)
      8. com.containersol.minimesos.main.Main.run(Main.java:125)
      9. com.containersol.minimesos.main.Main.main(Main.java:56)
      9 frames