I am trying to use both curl
and git
in a qube that I cloned from another existing qube.
In the clone, both curl
and git
fail to work saying that they cannot to connect to the server.
Traceback for curl
:
$ curl --proxy http://127.0.0.1:8082/ --tlsv1.2 --proto =https --max-time 180 "$@" https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to 127.0.0.1 port 8082 after 0 ms: Couldn't connect to server
$ curl https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to 127.0.0.1 port 8082 after 0 ms: Couldn't connect to server
Traceback for git
:
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
Cloning into '/home/user/.asdf'...
fatal: unable to access 'https://github.com/asdf-vm/asdf.git/': Failed to connect to 127.0.0.1 port 8082 after 0 ms: Couldn't connect to server
I tried doing sudo apt update
just to see if it was a general networking issue with the qube and sudo apt update
worked fine. I’ve also tried directly exporting the proxy like so:
$ export http_proxy=http://127.0.0.1:8082/
$ export https_proxy=http://127.0.0.1:8082/
Not sure what to check next. Any guidance is appreciated