Background: My company has self-hosted GitLab which can only be accessed when connected via Wireguard VPN. I have setup VPN and am able to access the company's GitLab via browser successfully.
Problem: But when I try to clone a repo I get "fatal: unable to access xxx : Recv failure : Connection was reset, git " . I have also enabled git trace to debug it and here are the results

Even when I try to push to a newly created empty repo on gitlab , I get the same error :

I have tried various solution like unsetting proxy etc but I am unable to resolve this. I am really stuck to this error, plz help