Fatal: unable to access 'https://gitlab.xxxxxx.com/rtujfn/my-linux-scripts.git/': Failed connect to gitlab.xxxxx.com:443; Operation now in progress

Hi,

I am trying to clone git repo to my local Linux machine.

Not able to do it as i am getting the error.

Command executed, in linux terminal

git clone https://gitlab.xxxxx.com/rtujfn/my-linux-scripts.git
Cloning into ‘my-linux-scripts’…
fatal: unable to access ‘https://gitlab.xxxxx.com/rtujfn/my-linux-scripts.git/’: Failed connect to gitlab.xxxxx.com:443; Operation now in progress

Hi,

sounds like you are behind an HTTP proxy. Can you share more details about the host where you are cloning onto?

Also, please re-run the command with

GIT_CURL_VERBOSE=1 git clone https://gitlab.xxxxx.com/rtujfn/my-linux-scripts.git

and post the output here.

Cheers,
Michael

Hi Michael,

Thank for your response.
GIT_CURL_VERBOSE=1 git clone https://gitlab.xxxxx.com/rtujfn/my-linux-scripts.git
Cloning into ‘my-linux-scripts’…

Seems there is a problem for this server. i tried in other server its connecting.

Hi,

both IPs resolve to AWS, maybe your origin host is blocked, or the target host has strict security groups with checking the source IP origin.

Cheers,
Michael