Skip to content

I Can't open page, the error is java.net.SocketException: No such file or directory #9

Description

@lixin-wei

I want to launch bfmgr in a local machine with one buildfarm server.

I downloaded bfmgr and ran it by the following scripts:

wget https://github.com/80degreeswest/bfmgr/releases/download/1.0.15/bfmgr-1.0.15.jar
sudo chmod 777 /var/log -R
sudo java -jar bfmgr-1.0.15.jar

Then I went to http://localhost, and saw the following error page:
image

And the error log is:

 30 [INFO ] 2021-10-21 22:57:38.855 [http-nio-80-exec-1] o.a.h.i.e.RetryExec - I/O exception (java.net.SocketException) caught when processing request to {}->unix://localhost:80: No such file or directory
 31 [INFO ] 2021-10-21 22:57:38.855 [http-nio-80-exec-1] o.a.h.i.e.RetryExec - Retrying request to {}->unix://localhost:80
 32 [ERROR] 2021-10-21 22:57:38.865 [http-nio-80-exec-1] o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is javax.ws.rs.ProcessingException: java.net.SocketException: No such file or              directory] with root cause
 33 java.net.SocketException: No such file or directory
 34     at org.newsclub.net.unix.NativeUnixSocket.connect(Native Method)
 35     at org.newsclub.net.unix.AFUNIXSocketImpl.connect(AFUNIXSocketImpl.java:263)
 36     at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:156)
 37     at com.github.dockerjava.jaxrs.ApacheUnixSocket.connect(ApacheUnixSocket.java:63)
 38     at com.github.dockerjava.jaxrs.UnixConnectionSocketFactory.connectSocket(UnixConnectionSocketFactory.java:75)
 39     at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
 40     at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
 41     at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
 42     at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
 43     at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
 44     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
 45     at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
 46     at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
 47     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
 48     at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:478)

Full log:
log.txt

Could anyone help me?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions