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

Connection failed #2

Open
yonghui-git opened this issue Nov 19, 2024 · 0 comments
Open

Connection failed #2

yonghui-git opened this issue Nov 19, 2024 · 0 comments

Comments

@yonghui-git
Copy link

yonghui-git commented Nov 19, 2024

By following the README.md and running the docker build command docker build . -f .\wslsp.Dockerfile -t wslsp, there are multiple failures which seem caused by connecting to http://security.ubuntu.com/ubuntu. Can anyone share ideas how to debug/resolve this failure?

The build log message is below:

628.2 Get:565 http://archive.ubuntu.com/ubuntu focal/universe amd64 node-slide all 1.1.6-2 [6328 B]
643.3 Get:566 http://archive.ubuntu.com/ubuntu focal/universe amd64 npm all 6.14.4+ds-1ubuntu2 [583 kB]
643.3 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.31-0ubuntu9.16_amd64.deb  Connection failed [IP: 185.125.190.81 80]
643.3 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-lts/openjdk-11-jre-headless_11.0.25+9-1ubuntu1~20.04_amd64.deb  Connection failed [IP: 185.125.190.82 80]
643.3 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
643.3 Fetched 213 MB in 10min 40s (332 kB/s)
------

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 34)
wslsp.Dockerfile:7
--------------------
   5 |     RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
   6 |     RUN apt-get update
   7 | >>> RUN apt-get -y install default-jdk dos2unix nodejs npm
   8 |
   9 |     # Create directory
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get -y install default-jdk dos2unix nodejs npm" did not complete successfully: exit code: 100
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

1 participant