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

unable to install conan as mentioned in this step. I get below error #82

Open
chiragshah2406 opened this issue Aug 12, 2021 · 7 comments
Assignees

Comments

@chiragshah2406
Copy link

git clone https://github.com/conan-io/training
cd training/docker_environment
docker-compose up -d
docker exec -it conan-training bash

error
xecutor failed running [/bin/sh -c /scripts/bootstrap-artifactory-config.sh]: exit code: 152
ERROR: Service 'jfrog-artifactory-training' failed to build : Build failed
LKLD-C02FN499:docker_environment chirag.shah$ view /scripts/bootstrap-artifactory-config.sh

@chiragshah2406
Copy link
Author

Hello Admin,
This issue can be easily reproducable.
I tried to follow same above steps as a root user on my MacOS, virtual machine image with ubuntu 20.04 as well as CentOs 8.2. All of them are failing with below errors
11 139.9 curl: (7) Failed to connect to localhost port 8082: Connection refused
#11 144.4 2021-08-12T21:20:43.369Z [jfac ] [WARN ] [5ffb72b103a3b73a] [o.j.c.ExecutionUtils:142 ] [pool-17-thread-2 ] - Retry 180 Elapsed 2.11 minutes failed: Registration with router on URL http://localhost:8046 failed with error: UNAVAILABLE: io exception. Trying again
#11 146.7 % Total % Received % Xferd Average Speed Time Time Time Current
#11 146.7 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#11 147.0 curl: (7) Failed to connect to localhost port 8082: Connection refused
#11 152.6 2021-08-12T21:20:51.647Z [jfac ] [WARN ] [5ffb72b103a3b73a] [o.j.c.ExecutionUtils:142 ] [pool-17-thread-2 ] - Retry 190 Elapsed 2.25 minutes failed: Registration with router on URL http://localhost:8046 failed with error: UNAVAILABLE: io exception. Trying again
#11 152.9 % Total % Received % Xferd Average Speed Time Time Time Current
#11 152.9 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#11 153.4 curl: (7) Failed to connect to localhost port 8082: Connection refused
#11 159.2 % Total % Received % Xferd Average Speed Time Time Time Current
#11 159.2 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#11 159.4 curl: (7) Failed to connect to localhost port 8082: Connection refused
#11 161.0 2021-08-12T21:20:59.996Z [jfac ] [WARN ] [5ffb72b103a3b73a] [o.j.c.ExecutionUtils:142 ] [pool-17-thread-2 ] - Retry 200 Elapsed 2.39 minutes failed: Registration with router on URL http://localhost:8046 failed with error: UNAVAILABLE: io exception. Trying again
#11 165.6 % Total % Received % Xferd Average Speed Time Time Time Current
#11 165.6 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#11 165.9 curl: (7) Failed to connect to localhost port 8082: Connection refused
#11 170.2 2021-08-12T21:21:09.075Z [jfac ] [WARN ] [5ffb72b103a3b73a] [o.j.c.ExecutionUtils:142 ] [pool-17-thread-2 ] - Retry 210 Elapsed 2.54 minutes failed: Registration with router on URL http://localhost:8046 failed with error: UNAVAILABLE: io exception. Trying again
#11 172.1 % Total % Received % Xferd Average Speed Time Time Time Current
#11 172.1 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Timed out waiting for Artifactory
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#11 172.7 curl: (7) Failed to connect to localhost port 8082: Connection refused

executor failed running [/bin/sh -c /scripts/bootstrap-artifactory-config.sh]: exit code: 152
ERROR: Service 'jfrog-artifactory-training' failed to build : Build failed

@chiragshah2406
Copy link
Author

i installed latest stable docker on all those OSs

@Nikosovar
Copy link

Hi, I got the same issue on my Debian 11 VM. I'm trying to fix it.

@uilianries
Copy link
Member

@chiragshah2406 Could you please more details about your machine and OS, including its version? It may be related to #95. Please, read that issue to check if is the same symptom.

@uilianries
Copy link
Member

@Nikosovar I said Debian 11 VM, but you did not specify your machine, cpu, OS, OS version ...

VM has a bunch of configurations related to the machine, it could be a firewall rule, if you are running in Mac, it can be the Stealth mode, ...

@Nikosovar
Copy link

Hello @uilianries . Thanks your reply.

My machine is a windows 7 (i know it's maybe not helping)
VM OS is Debian 11.3
Both 8081 and 8082 ports is open in Debian (using iptables commands) and in windows (i added firewall rules to open those ports)

From now i running out of idea to make it work.

I'll check on the VM configuration side (I use VirtualBox 6.0)
Re-check windows rules

Do you have more suggestion ?

Regards,

@uilianries
Copy link
Member

@Nikosovar Windows 7 is EOL since 2020. My suggestion is updating to Window 10 or 11.

I'll try on Windows 10 (my machine), just in case, but I won't be able to run Windows 7 here.

Also, you don't need to use VM, you can run Docker desktop directly on Windows.

Please, open a separated issue to discuss your problem, because you have another configuration.

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

3 participants