conan-io / training

(Deprecated) Support code for conan 1.X trainings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

chiragshah2406 opened this issue · comments

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

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

i installed latest stable docker on all those OSs

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

@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.

@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, ...

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,

@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.