Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lixin-wei opened this issue Oct 21, 2021 · 9 comments

Comments

@lixin-wei
Copy link

lixin-wei commented Oct 21, 2021

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?

@80degreeswest
Copy link
Owner

Can you double check that you have docker running?

@lixin-wei
Copy link
Author

Can you double check that you have docker running?

I've no docker running. Why it needs docker?

@80degreeswest
Copy link
Owner

When you are running it locally, the way it launches buildfarm is via docker containers.

@lixin-wei
Copy link
Author

When you are running it locally, the way it launches buildfarm is via docker containers.

I see, thx. I thought it is a tool managing an existing cluster. So I need to create the cluster using bfmgr.

Does it have the functionality to create workers in different machines? I've many machines.

@80degreeswest
Copy link
Owner

When you are running it locally, the way it launches buildfarm is via docker containers.

I see, thx. I thought it is a tool managing an existing cluster. So I need to create the cluster using bfmgr.

Does it have the functionality to create workers in different machines? I've many machines.

Not currently via docker containers, but it's possible in the future. It does, however, support deploying to multiple machines on AWS infrastructure (see README file).

@lixin-wei
Copy link
Author

Not currently via docker containers, but it's possible in the future. It does, however, support deploying to multiple machines on AWS infrastructure (see README file).

I see, sadlly I'm not using AWS.

@lixin-wei
Copy link
Author

lixin-wei commented Oct 21, 2021

Is there anyway to create a cluster using my own prue machines?

And don't use docker, just launch pure worker processes in my machine.

I've already set up the environment well. I just want a UI to manage my cluster.

@80degreeswest
Copy link
Owner

No, there isn't anything to do that at this time.

@lixin-wei
Copy link
Author

I see. Thank you for your clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants